login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182233 Numbers that are palindromic in bases 2 and 6. 17
0, 1, 3, 5, 7, 21, 129, 427, 693, 819, 3999, 4257, 4593, 28539, 66433, 85093, 148617, 151497, 153513, 180213, 425971, 1040319, 1093281, 1508381, 1632995, 1974031, 1986127, 30522135, 30643095, 208080483, 1894216583, 6662648163, 8632935681 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Intersection of A006995 and A029953. - Michel Marcus, Oct 09 2014

LINKS

Ray Chandler, Table of n, a(n) for n = 1..70 (terms < 10^18)

EXAMPLE

85093 base 2 = 10100110001100101 and 85093 base 6 = 1453541.

MATHEMATICA

b1 = 2; b2 = 6; lst = {}; Do[d1 = IntegerDigits[n, b1]; d2 = IntegerDigits[n, b2]; If[d1 == Reverse[d1] && d2 == Reverse[d2], AppendTo[lst, n]], {n, 2000000}]; lst (* T. D. Noe, Apr 19 2012 *)

PROG

(PARI) isok(n) = (d2=digits(n, 2)) && (d2==Vecrev(d2)) && (d6=digits(n, 6)) && (d6==Vecrev(d6)); \\ Michel Marcus, Oct 27 2014

CROSSREFS

Cf. A006995 (base 2), A029953 (base 6).

Cf. A060792 (base 2 and 3), A097856 (base 2 and 4).

Sequence in context: A217651 A163637 A228068 * A239282 A171015 A244571

Adjacent sequences:  A182230 A182231 A182232 * A182234 A182235 A182236

KEYWORD

nonn,base

AUTHOR

Alex Ratushnyak, Apr 19 2012

EXTENSIONS

a(28)-a(33) and b-file from Ray Chandler, Oct 27 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 07:54 EDT 2020. Contains 335685 sequences. (Running on oeis4.)