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.

A238938 Powers of 2 without the digit '0' in their decimal expansion.

Original entry on oeis.org

1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 8192, 16384, 32768, 65536, 262144, 524288, 16777216, 33554432, 134217728, 268435456, 2147483648, 4294967296, 8589934592, 17179869184, 34359738368, 68719476736, 137438953472, 549755813888, 562949953421312, 2251799813685248, 147573952589676412928
Offset: 1

Views

Author

M. F. Hasler, Mar 07 2014

Keywords

Comments

Conjectured to be finite and complete. See the OEIS wiki page for further information, references and links.

Examples

			256 = 2^8 is in the sequence because 256 has a 2, a 5 and a 6 but no 0's.
512 = 2^9 is also in because it has a 1, a 2 and a 5 but no 0's.
1024 = 2^10 is not in the sequence because it has a 0.
		

Crossrefs

Programs

  • Mathematica
    Select[2^Range[0, 127], DigitCount[#, 10, 0] == 0 &] (* Alonso del Arte, Mar 07 2014 *)
  • PARI
    for(n=0,99,vecmin(digits(2^n))&& print1(2^n","))

Formula

a(n) = 2^A007377(n).

Extensions

'fini' keyword removed as finiteness is only conjectured by Max Alekseyev, Apr 10 2019