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!)
A110930 a(1) = 1; a(n) = nextprime(2*a(n-1)) for n > 1. 2
1, 3, 7, 17, 37, 79, 163, 331, 673, 1361, 2729, 5471, 10949, 21911, 43853, 87719, 175447, 350899, 701819, 1403641, 2807303, 5614657, 11229331, 22458671, 44917381, 89834777, 179669557, 359339171, 718678369, 1437356741, 2874713497 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A065545(n-1), n>1. - R. J. Mathar, Aug 18 2008
EXAMPLE
a(6) = nextprime(2*a(5)) = nextprime(2*37) = nextprime(74) = 79.
MATHEMATICA
<<NumberTheory`; p = 1; Print[p]; Do[p = NextPrime[2*p]; Print[p], {n, 2, 50}]
RecurrenceTable[{a[n] == NextPrime[2*a[n - 1]], a[1] == 1}, a, {n, 1, 50}] (* G. C. Greubel, Oct 19 2017 *)
NestList[NextPrime[2#]&, 1, 30] (* Harvey P. Dale, Apr 22 2023 *)
CROSSREFS
Sequence in context: A089116 A244629 A065545 * A026646 A026668 A111210
KEYWORD
nonn
AUTHOR
Ryan Propper, Sep 23 2005
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 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)