OFFSET
1,3
PROG
(PARI) a(n) = prime(n) % sumdigits(n); \\ Michel Marcus, Jan 05 2022
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Juri-Stepan Gerasimov, Aug 04 2008
EXTENSIONS
Corrected and edited by D. S. McNeil, Mar 21 2009
STATUS
approved