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.

A136825 Numbers k such that k and k^2 use only the digits 0, 1, 2, 5 and 8.

Original entry on oeis.org

0, 1, 5, 10, 11, 15, 50, 100, 101, 105, 110, 150, 151, 285, 500, 501, 505, 1000, 1001, 1005, 1010, 1011, 1050, 1100, 1101, 1105, 1500, 1510, 1585, 2255, 2285, 2850, 2851, 2855, 5000, 5001, 5005, 5010, 5011, 5015, 5050, 10000, 10001, 10005, 10010, 10011, 10050, 10100, 10105, 10110, 10500, 11000, 11001, 11005, 11010, 11050, 11205, 12255, 15000, 15005
Offset: 1

Views

Author

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

Keywords

Comments

Generated with DrScheme.

Examples

			508018515^2 = 258082811582805225.
		

Programs

  • Mathematica
    With[{c={0,1,2,5,8}},Select[FromDigits/@Tuples[c,5],SubsetQ[ c,IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Oct 02 2021 *)