The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A157034 Shorthand for A157033, the smallest prime with 2^n digits. 4
 1, 1, 9, 19, 37, 33, 121, 283, 37, 241, 3259, 2823, 67017, 13989, 9523, 34281, 159007 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Table of n, a(n) for n=0..16. FORMULA a(n) = A157033(n) - 10^(2^n - 1). MAPLE a:= n-> (t-> nextprime(t)-t)(10^(2^n-1)): seq(a(n), n=0..10); # Alois P. Heinz, Mar 02 2022 MATHEMATICA f[n_] := NextPrime[ 10^(2^n-1)] - 10^(2^n-1); Table[ f@n, {n, 0, 12}] (* Robert G. Wilson v, Mar 17 2009 *) PROG (Python) from sympy import nextprime def A157034(n): return 1 if n == 0 else nextprime(10**(2**n-1))-10**(2**n-1) # Chai Wah Wu, Apr 16 2021 CROSSREFS Cf. A033873, A157033, A157036. Sequence in context: A051811 A034056 A195042 * A198590 A297396 A145958 Adjacent sequences: A157031 A157032 A157033 * A157035 A157036 A157037 KEYWORD nonn,base,more AUTHOR Lekraj Beedassy, Feb 22 2009 EXTENSIONS a(8)-a(12) from Robert G. Wilson v, Mar 17 2009 a(13)-a(14) from Ray Chandler, Mar 22 2009 a(15) from Jinyuan Wang, Feb 24 2022 a(16) from Michael S. Branicky, Jun 18 2024 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.

Last modified August 11 05:51 EDT 2024. Contains 375059 sequences. (Running on oeis4.)