OFFSET
1,1
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
5 = 4 + 1 = 11[4] (in base 4), and 5 + 1 + 1 = 7 is again prime.
MATHEMATICA
Select[Prime[Range[300]], PrimeQ[#+Total[IntegerDigits[#, 4]]]&] (* Harvey P. Dale, Feb 06 2020 *)
PROG
(PARI) forprime(p=1, 1999, isprime(p+sumdigits(p, 4))&&print1(p", "))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 06 2018
STATUS
approved