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.

A045856 Numbers whose square has initial digit '2'.

Original entry on oeis.org

5, 15, 16, 17, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 448, 449, 450, 451, 452, 453, 454, 455, 456
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[500],IntegerDigits[#^2][[1]]==2&] (* Harvey P. Dale, Apr 15 2024 *)
  • PARI
    isok(n) = digits(n^2)[1] == 2; \\ Michel Marcus, May 28 2017

Extensions

Corrected by Seiichi Manyama, May 28 2017