Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A099145
Numbers in base 10 that are palindromic in bases 7 and 8.
21
0, 1, 2, 3, 4, 5, 6, 121, 178, 235, 292, 300, 2997, 6953, 7801, 10658, 13459, 16708, 428585, 431721, 444713, 447849, 450985, 502457, 626778, 786435, 10453500, 27924649
OFFSET
1,3
COMMENTS
Intersection of A029954 and A029803. - Michel Marcus, Oct 09 2014
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..48 (first 37 terms from Robert G. Wilson v)
EXAMPLE
178 is in the sequence because 178_10 = 343_7 = 262_8.
MATHEMATICA
palQ[n_Integer, base_Integer] := Block[{idn = IntegerDigits[n, base]}, idn == Reverse[ idn]]; Select[ Range[ 150000000], palQ[ #, 7] && palQ[ #, 8] &]
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Sep 30 2004
STATUS
approved