OFFSET
1,1
EXAMPLE
251 is a term since 251 is prime and 152 = 8 * 19.
MATHEMATICA
Select[Prime[Range[500]], Divisible[IntegerReverse[#], 8] &] (* Amiram Eldar, Jul 25 2022 *)
PROG
(PARI) is(n) = fromdigits(Vecrev(digits(n)))%8 == 0 \\ David A. Corneth, Jul 25 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Jul 25 2022
EXTENSIONS
More terms from David A. Corneth, Jul 25 2022
STATUS
approved