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!)
A095938 a(n+1) = (a(n)-1)-th prime + 1. 0
2, 3, 4, 6, 12, 32, 128, 710, 5382, 52712, 648392, 9737334, 174440042, 3657500102, 88362852308, 2428095424620, 75063692618250, 2586559730396078, 98552043847093520, 4123221751654370052, 188272405179937051082, 9332039515881088707362, 499720579610303128776792, 28785866289100396890228042 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
N. Lygeros, G-test. [From Herman Jamke (hermanjamke(AT)fastmail.fm), Dec 06 2008]
MATHEMATICA
NestList[Prime[ # - 1] + 1 &, 2, 16] (* Robert G. Wilson v *)
PROG
(PARI) a(n)=if(n<2, 2, prime(a(n-1)-1)+1);
for(n=1, 10, print1(a(n), ", "));
CROSSREFS
Equals A007097 + 1.
Sequence in context: A018405 A018419 A220826 * A018460 A344661 A018484
KEYWORD
nonn
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Jul 13 2004
EXTENSIONS
a(19)-a(24) from Giovanni Resta, using terms of A007097, Apr 03 2019
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 08:20 EDT 2024. Contains 371964 sequences. (Running on oeis4.)