A359224 Numbers whose decimal representation is the reverse of their base-7 representation.
0, 1, 2, 3, 4, 5, 6, 23, 46, 2116, 15226, 32361
Offset: 1
Examples
23 is a term since 23_7 = 32 which reversed is 23. 32361 is a term since 32361_7 = 163230 which reversed is 032361 and the leading 0 is disregarded.
Programs
-
PARI
isok(n) = fromdigits(Vecrev(digits(n, 7))) == n
Extensions
a(12) from Jon E. Schoenfield, Dec 21 2022