OFFSET
0,1
COMMENTS
LINKS
Rémy Sigrist, PARI program for A336382
FORMULA
A241181(a(n)) = n.
EXAMPLE
The number 2 is the least prime number, so a(0) = 2.
The number 6 is the least one requiring 2 "add a digit" steps to reach a prime number, so a(2) = 6.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 25 2020
STATUS
approved