OFFSET
1,2
COMMENTS
When regarded as decimal numbers, the first prime in this sequence is a(6) = 12341011.
a(8) is also prime and for n <= 2000, a(n) is not prime except for n = 6 or 8. - Chai Wah Wu, Apr 19 2023
MATHEMATICA
A362117[n_]:=FromDigits[Flatten[IntegerDigits[Range[n], 5]]]; Array[A362117, 20] (* Paolo Xausa, Nov 27 2023 *)
PROG
(Python)
from gmpy2 import digits
def A362117(n): return int(''.join(digits(n, 5) for n in range(1, n+1))) # Chai Wah Wu, Apr 19 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michael S. Branicky and N. J. A. Sloane, Apr 19 2023
STATUS
approved