cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A182234 Numbers that are palindromic in bases 2 and 7.

Original entry on oeis.org

0, 1, 3, 5, 85, 107, 257, 5049, 9201, 11253, 11757, 210099, 399171, 512607, 786435, 12916899, 19992857, 22468309, 1052109663, 15935958711, 24051338445, 37344016593, 71859215265, 72822171105, 1566399158893, 3425211644643
Offset: 1

Views

Author

Alex Ratushnyak, Apr 19 2012

Keywords

Comments

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

Examples

			786435 base 2 = 11000000000000000011 and 786435 base 7 = 6453546.
		

Crossrefs

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

Programs

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

Extensions

a(19)-a(28) from Donovan Johnson, Apr 27 2012
b-file to 31 terms from Ray Chandler, Oct 27 2014