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.

A270037 a(n) = Smallest m >= 3 containing no zeros when represented in any base from 3 through n.

Original entry on oeis.org

4, 5, 7, 7, 13, 13, 13, 13, 13, 13, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157
Offset: 3

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.
Every known term in this sequence is in A069575, and every term in A069575 is in this sequence.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[3, 10^3], Total@ Map[Function[k, DigitCount[#, k, 0]], Range[3, n]] == 0 &], {n, 3, 80}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)
  • PARI
    isok(m, n) = {for (b=3, n, if (! vecmin(digits(m, b)), return (0));); 1;}
    a(n) = {my(m = 3); while (! isok(m,n), m++); m;} \\ Michel Marcus, Mar 10 2016