login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122171 Smallest number m such that there are exactly n primes of form m+p for primes p<2m. 1
1, 4, 6, 10, 12, 18, 38, 74, 40, 24, 68, 30, 36, 54, 72, 100, 134, 78, 60, 66, 102, 96, 84, 114, 238, 90, 132, 266, 126, 220, 368, 174, 156, 120, 150, 380, 204, 180, 222, 258, 288, 276, 682, 234, 530, 264, 324, 252, 306, 240, 490, 210, 372, 270, 402, 728, 408, 650 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

First occurrence of n in A122170.

LINKS

Table of n, a(n) for n=1..58.

EXAMPLE

a(4)=10 because it is the first followed by 14,16,... such that exactly 4 primes p respectively below 2*10,2*14,2*16,... form 4 other primes respectively of form p+10,p+14,p+16,...[For m=10, the 4 primes below 20 are 3,7,13,19 ; For m=14, the 4 primes below 28 are 3,5,17,23 ; For m=16, the 4 primes below 32 are 3,7,13,31 ; ...]

MAPLE

A122171 := proc(n) local m, p, pgood; m := 0 ; while true do p := 2 ; pgood := 0 ; while p <= 2*m do if isprime(m+p) then pgood := pgood+1 ; fi ; p := nextprime(p) ; od ; if pgood = n then RETURN(m) ; fi ; m := m+1 ; od ; end: for n from 1 to 80 do printf("%d, ", A122171(n)) ; od : # R. J. Mathar, Dec 16 2006

CROSSREFS

Sequence in context: A086298 A144761 A295523 * A310580 A073161 A272777

Adjacent sequences:  A122168 A122169 A122170 * A122172 A122173 A122174

KEYWORD

nonn

AUTHOR

Lekraj Beedassy, Aug 23 2006

EXTENSIONS

More terms from R. J. Mathar, Dec 16 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 9 22:52 EDT 2020. Contains 336335 sequences. (Running on oeis4.)