cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A175957 Numbers that cannot be written as the sum of a prime number and a primorial number.

This page as a plain text file.
%I A175957 #6 Aug 02 2015 13:25:03
%S A175957 1,2,10,16,22,26,27,28,34,36,40,46,50,51,52,56,57,58,64,66,70,76,78,
%T A175957 82,86,87,88,92,93,94,96,100,106,112,116,117,118,120,121,122,123,124,
%U A175957 125,126,130,134,135,136,142,144,146,147,148,149,154,156,160,162,166,170
%N A175957 Numbers that cannot be written as the sum of a prime number and a primorial number.
%F A175957 {k : A175933(k)=0}. - _R. J. Mathar_, Nov 03 2010
%t A175957 fQ[n_] := Block[{pp = Select[ FoldList[Times, 1, Prime@ Range@ 20], # <= n &]}, Last@ Union@ PrimeQ[n - pp] == False]; Select[ Range@ 170, fQ] (* _Robert G. Wilson v_, Nov 05 2010 *)
%Y A175957 Cf. A118954, A175933.
%K A175957 nonn
%O A175957 1,2
%A A175957 _Juri-Stepan Gerasimov_, Oct 29 2010
%E A175957 Corrected (90 removed) and extended by _R. J. Mathar_ and _Robert G. Wilson v_, Nov 03 2010