OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
digsum:= proc(n, b) convert(convert(n, base, b), `+`) end proc:
select(p -> isprime(p) and isprime(p+digsum(p, 8)), [seq(i, i=3..10000, 2)]); # Robert Israel, Nov 07 2018
PROG
(PARI) forprime(p=1, 1999, isprime(p+sumdigits(p, 8))&&print1(p", "))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 06 2018
STATUS
approved