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.

A343724 a(n) is the smallest n-digit square with all digits even.

Original entry on oeis.org

0, 64, 400, 4624, 26244, 228484, 2022084, 20268004, 202208400, 2006860804, 20220840000, 200084446864, 2002004266084, 20000286620224, 200080402620484, 2000028662022400, 20000086482842244, 200002866202240000, 2000008648284224400, 20000246442286866064
Offset: 1

Views

Author

Jon E. Schoenfield, May 19 2021

Keywords

Comments

From Robert G. Wilson v, May 20 2021: (Start)
The square root of any term is == {0, 2, 8} (mod 10).
Other than 1 and 9, there are no squares which contain only odd digits.
(End)

Crossrefs

Programs

  • Mathematica
    a[n_] := Block[{k = Floor[ Sqrt[10^n/5]]}, If[OddQ@k, k--]; While[ Union[ EvenQ[ IntegerDigits[ k^2]]] != {True}, k += 2]; k^2]; Array[ a, 20] (* Robert G. Wilson v, May 20 2021 *)