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!)
A094743 Beginning with 2, increasing primes such that the sum of successive differences is also prime. 5
2, 5, 7, 13, 19, 31, 43, 61, 73, 103, 109, 139, 151, 181, 193, 199, 229, 241, 271, 283, 313, 349, 421, 433, 463, 523, 571, 601, 619, 643, 661, 811, 823, 829, 859, 883, 1021, 1033, 1051, 1063, 1093, 1153, 1231, 1279, 1291, 1303, 1321, 1429, 1453, 1483, 1489 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
2 along with the larger member of twin primes.
LINKS
MATHEMATICA
f[s_List] := Block[{p = NextPrime@ s[[ -1]]}, While[ !PrimeQ[p - 2], p = NextPrime@p]; Append[s, p]]; Nest[f, {2}, 50] (* Robert G. Wilson v, Aug 09 2010 *)
PROG
(PARI) list(lim)=my(v=List([2]), s, p=2); forprime(q=5, lim, if(isprime(s+q-p), listput(v, q); s+=q-p; p=q)); Vec(v) \\ Charles R Greathouse IV, Jan 12 2022
CROSSREFS
Sequence in context: A038959 A069351 A275011 * A175075 A262392 A056985
KEYWORD
nonn
AUTHOR
Amarnath Murthy, May 24 2004
EXTENSIONS
Changed offset from 0 to 1 by Vincenzo Librandi, Apr 14 2013
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)