login
Primes with first digit 8.
23

%I #23 Sep 08 2022 08:44:56

%S 83,89,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,

%T 8009,8011,8017,8039,8053,8059,8069,8081,8087,8089,8093,8101,8111,

%U 8117,8123,8147,8161,8167,8171,8179,8191,8209,8219,8221,8231,8233,8237,8243

%N Primes with first digit 8.

%H Vincenzo Librandi, <a href="/A045714/b045714.txt">Table of n, a(n) for n = 1..5000</a>

%t Flatten[Table[Prime[Range[PrimePi[8 * 10^n] + 1, PrimePi[9 * 10^n]]], {n, 3}]] (* _Alonso del Arte_, Jul 19 2014 *)

%o (Magma) [p: p in PrimesUpTo(10^4) | Intseq(p)[#Intseq(p)] eq 8]; // _Bruno Berselli_, Jul 19 2014

%Y For primes with initial digit d (1 <= d <= 9) see A045707, A045708, A045709, A045710, A045711, A045712, A045713, A045714, A045715; A073517, A073516, A073515, A073514, A073513, A073512, A073511, A073510, A073509

%Y Column k=8 of A262369.

%K nonn,base,easy

%O 1,1

%A _Felice Russo_

%E More terms from _Erich Friedman_.