login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088429 Number of primes in arithmetic progression starting with 31 and with d=2n. 9

%I #4 Mar 30 2012 17:26:10

%S 1,1,3,1,2,2,1,2,1,1,2,1,1,2,2,1,1,4,1,2,2,1,1,3,1,2,1,1,2,1,1,1,4,1,

%T 2,2,1,2,2,1,2,1,1,1,1,1,1,3,1,2,1,1,2,2,1,1,1,1,2,3,1,1,4,1,1,2,1,2,

%U 1,1,2,1,1,2,3,1,1,1,1,2,2,1,2,3,1,1,1,1,1,2,1,1,1,1,1,2,1,2,2,1

%N Number of primes in arithmetic progression starting with 31 and with d=2n.

%C Arithmetic progression is stopped when next term is not prime. E.g. for n=3 (d=6), a=3, that is 31,37,43 are prime, while next term, 49, is not prime.

%t bb={}; Do[s=1; Do[If[PrimeQ[31+k*d], s=s+1, bb={bb, s}; Break[]], {k, 10}], {d, 2, 200, 2}]; Flatten[bb]

%Y Cf. A088420, A088421, A088422, A088423, A088424, A088425, A088426, A088427, A088428.

%K easy,nonn

%O 1,3

%A _Zak Seidov_, Sep 29 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)