A355984 Primes whose reversal is a multiple of 8.
23, 61, 211, 251, 257, 293, 401, 409, 443, 449, 487, 631, 673, 677, 821, 823, 827, 829, 863, 2111, 2113, 2131, 2137, 2153, 2179, 2309, 2341, 2347, 2381, 2383, 2389, 2531, 2539, 2551, 2557, 2579, 2591, 2593, 2707, 2729, 2741, 2749, 2767, 2789, 2917, 2939, 2953, 2957
Offset: 1
Examples
251 is a term since 251 is prime and 152 = 8 * 19.
Crossrefs
Programs
-
Mathematica
Select[Prime[Range[500]], Divisible[IntegerReverse[#], 8] &] (* Amiram Eldar, Jul 25 2022 *)
-
PARI
is(n) = fromdigits(Vecrev(digits(n)))%8 == 0 \\ David A. Corneth, Jul 25 2022
Extensions
More terms from David A. Corneth, Jul 25 2022
Comments