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.

A309432 Number of distinct digits in decimal representation of n^2.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 4, 4, 3, 3, 4, 4, 2, 3, 3, 3, 4, 4, 4, 3, 3, 3, 4, 4, 3, 4, 4, 4, 4, 4, 3, 4, 3, 4, 3, 4, 3, 3, 4, 3, 4, 3, 3, 4, 3, 4, 4, 4, 4, 3, 3, 3, 4, 4, 3, 3, 4, 3, 4, 3, 4
Offset: 0

Views

Author

Hauke Löffler, Aug 01 2019

Keywords

Examples

			a(0) = 1 because 0^2 = 0 has 1 distinct digit (0).
a(5) = 2 because 5^2 = 25 has 2 distinct digits (2, 5).
a(10) = 2 because 10^2 = 100 has 2 distinct digits (0, 1).
		

Crossrefs

Programs