OFFSET
1,2
COMMENTS
The smallest prime occurs at n = 12891. - Michael S. Branicky, Apr 20 2023
The b-file has only 313 terms, since a(314) has 1001 digits.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..313
MATHEMATICA
A362119[n_]:=FromDigits[Flatten[IntegerDigits[Range[n], 6]]]; Array[A362119, 20] (* Paolo Xausa, Nov 27 2023 *)
PROG
(Python)
from sympy.ntheory import digits
from itertools import count, islice
def agen(s="", base=6): yield from (int(s:=s+"".join(map(str, digits(n, base)[1:]))) for n in count(1))
print(list(islice(agen(), 20)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michael S. Branicky and N. J. A. Sloane, Apr 19 2023
STATUS
approved