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.

A046288 Numbers k such that 2^k contains 2^2=4 as its largest proper substring of the form 2^m (probably finite).

Original entry on oeis.org

6, 10, 12, 18, 22, 32, 49, 52, 53, 56, 78
Offset: 1

Views

Author

Patrick De Geest, Jun 15 1998

Keywords

Crossrefs

Cf. A033921.

Programs

  • Mathematica
    sub2[n_] := Block[{s = ToString[2^n], k = n - 1}, While[k >= 0 && ! StringContainsQ[s, ToString[2^k]], k--]; k]; Select[Range[1000], sub2[#] == 2 &] (* Giovanni Resta, Oct 14 2019 *)