A099146 Numbers in base 10 that are palindromic in bases 8 and 9.
0, 1, 2, 3, 4, 5, 6, 7, 154, 227, 300, 373, 446, 455, 11314, 12547, 17876, 27310, 889435, 894619, 899803, 926371, 1257716, 1262900, 1268084, 1273268, 1294652, 1368461, 1373645, 1405397, 2067519, 63367795, 71877268, 98383349
Offset: 1
Examples
227 is in the sequence because 227_10 = 343_8 = 272_9.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..54 (first 41 terms from Robert G. Wilson v)
Crossrefs
Programs
-
Mathematica
palQ[n_Integer, base_Integer] := Block[{idn = IntegerDigits[n, base]}, idn == Reverse[ idn]]; Select[ Range[ 250000000], palQ[ #, 8] && palQ[ #, 9] &]
Extensions
Term 0 prepended by Robert G. Wilson v, Oct 08 2014
Comments