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!)
A076524 For each solution x>0 to 3*prime(n)+2*x = prime(n+2+x), the sequence lists prime(n) once. 0
3, 3, 5, 7, 7, 19, 23, 31, 37, 41, 43, 43, 47, 47, 61, 67, 71, 89, 109, 109, 113, 127, 131, 131, 137, 139, 149, 151, 163, 163, 167, 167, 173, 181, 197 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
3 refers to 3*prime(2) +2*1 = prime(5). The next 3 refers to 3*prime(2)+2*2 = prime(6). The 5 refers to 3*prime(3) + 2*4=prime(9). The two 7 refer to 3*prime(4)+2*4=prime(10) and 3*prime(4)+2*5=prime(11).
PROG
(PARI) find(p)=my(t=3*p); forprime(q=nextprime(nextprime(p+1)+1)+1, default(primelimit), t+=2; if(q>=t, return(if(q>t, 0, 1+isprime(q+2))))); error("not enough primes")
forprime(p=3, 200, for(i=1, find(p), print1(p", "))) \\ Charles R Greathouse IV, Mar 09, 2012
CROSSREFS
Sequence in context: A086910 A101300 A172290 * A168279 A171957 A278166
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Oct 18 2002
EXTENSIONS
Another 43 added by R. J. Mathar, Mar 09 2012
STATUS
approved

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 April 25 13:27 EDT 2024. Contains 371971 sequences. (Running on oeis4.)