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.

Showing 1-1 of 1 results.

A137117 Numbers k such that k and k^2 use only the digits 2, 5, 7 and 9.

Original entry on oeis.org

5, 27, 77, 527, 7227, 27797977
Offset: 1

Views

Author

Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008

Keywords

Comments

Generated with DrScheme.
No further terms up to 10^12. - Harvey P. Dale, Oct 02 2017
No further terms up to 10^38. - Michael S. Branicky, May 27 2021

Examples

			27797977^2 = 772727525292529.
		

Crossrefs

Programs

  • Mathematica
    With[{c={2,5,7,9}},Table[Select[FromDigits/@Tuples[c,n],SubsetQ[c, IntegerDigits[ #^2]]&],{n,8}]]//Flatten (* Harvey P. Dale, Oct 02 2017 *)
  • Python
    # uses auptod in A137110
    print(auptod(16, only="2579")) # Michael S. Branicky, May 27 2021
Showing 1-1 of 1 results.