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.

A054039 a(n)^2 is the least square to contain n different decimal digits.

Original entry on oeis.org

0, 4, 13, 32, 113, 322, 1017, 3206, 10124, 32043
Offset: 1

Views

Author

Asher Auel, Feb 28 2000

Keywords

Comments

It turns out that "...at least n..." and "...exactly n..." yield the same (and thus strictly increasing) sequence. - M. F. Hasler, Feb 02 2009

Examples

			13^2=169 is the first square to contain exactly 3 different digits; 322^2=103684 is the first square to contain exactly 6 different digits.
		

Crossrefs

Programs

  • PARI
    A054039(n,k=0) = { while( #Set(Vec(Str(k^2)))M. F. Hasler, Feb 02 2009 */

Extensions

Minor rewording, added comment, keywords "easy,full" and PARI code M. F. Hasler, Feb 02 2009