OFFSET
1,19
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
MATHEMATICA
Accumulate@ Array[Boole[First@ IntegerDigits@ Prime@ # == 6] &, 105] (* Michael De Vlieger, Jun 14 2018 *)
PROG
(PARI) lista(n) = { my(a=[p\10^logint(p, 10)==6 | p<-primes(n)]); for(i=2, #a, a[i]+=a[i-1]); a} \\ Harry J. Smith, Oct 26 2009
CROSSREFS
KEYWORD
base,nonn,changed
AUTHOR
Reinhard Zumkeller, Nov 13 2001
STATUS
approved