OFFSET
1,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..501
FORMULA
The first terms, alongside their concatenations, are:
n a(n) A053582(n)
-- ---- -----------
1 1 1
2 1 11
3 2 211
4 4 4211
5 3 34211
6 2 234211
7 4 4234211
8 15 154234211
9 3 3154234211
10 9 93154234211
PROG
(PARI) print1 (v=1); for (n=2, 69, s=(b=10)^#digits(v, b); for (k=1, oo, if (isprime(v+=s), print1 (", "k); break)))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Nov 23 2019
STATUS
approved