This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A157034 #34 Jun 18 2024 10:01:11 %S A157034 1,1,9,19,37,33,121,283,37,241,3259,2823,67017,13989,9523,34281,159007 %N A157034 Shorthand for A157033, the smallest prime with 2^n digits. %F A157034 a(n) = A157033(n) - 10^(2^n - 1). %p A157034 a:= n-> (t-> nextprime(t)-t)(10^(2^n-1)): %p A157034 seq(a(n), n=0..10); # _Alois P. Heinz_, Mar 02 2022 %t A157034 f[n_] := NextPrime[ 10^(2^n-1)] - 10^(2^n-1); Table[ f@n, {n, 0, 12}] (* _Robert G. Wilson v_, Mar 17 2009 *) %o A157034 (Python) %o A157034 from sympy import nextprime %o A157034 def A157034(n): return 1 if n == 0 else nextprime(10**(2**n-1))-10**(2**n-1) # _Chai Wah Wu_, Apr 16 2021 %Y A157034 Cf. A033873, A157033, A157036. %K A157034 nonn,base,more %O A157034 0,3 %A A157034 _Lekraj Beedassy_, Feb 22 2009 %E A157034 a(8)-a(12) from _Robert G. Wilson v_, Mar 17 2009 %E A157034 a(13)-a(14) from _Ray Chandler_, Mar 22 2009 %E A157034 a(15) from _Jinyuan Wang_, Feb 24 2022 %E A157034 a(16) from _Michael S. Branicky_, Jun 18 2024