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.

A291626 Numbers k such that 1 is the smallest decimal digit of k^2.

Original entry on oeis.org

1, 4, 9, 11, 12, 13, 14, 19, 21, 29, 31, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 46, 54, 56, 59, 61, 69, 72, 79, 81, 89, 91, 96, 106, 107, 108, 109, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134
Offset: 1

Views

Author

Colin Barker, Aug 28 2017

Keywords

Examples

			29 is in the sequence because 29^2 = 841, the smallest decimal digit of which is 1.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[200],Min[IntegerDigits[#^2]]==1&] (* Harvey P. Dale, Sep 07 2019 *)
  • PARI
    select(k->vecmin(digits(k^2))==1, vector(1000, k, k))
    
  • Python
    A291626_list = [k for k in range(1,10**6) if min(str(k**2)) == '1'] # Chai Wah Wu, Aug 28 2017