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.

A168070 Numbers n with property that n, n^2, n^3, and n^4 have the same set of digits (not counting repetitions).

Original entry on oeis.org

0, 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 71624305, 100000000, 103849576, 105823694, 106597243, 108326947, 120463578, 124093657, 126509743, 129306745, 129738560, 139784256, 140786329, 147863502, 148936025, 150973624
Offset: 1

Views

Author

Zak Seidov, Nov 18 2009

Keywords

Comments

If n is here then also 10*n is. But not vice versa: if the term n is multiple of 10 then not necessarily n/10 is the term; e.g., 129738560, 172836950, 175438290 are terms but 12973856, 17283695, 17543829 not.

Crossrefs

Cf. A029800.

Programs

  • PARI
    isok(n) = s1 = Set(digits(n)); (s1 == Set(digits(n^2))) && (s1 == Set(digits(n^3))) && (s1 == Set(digits(n^4))); \\ Michel Marcus, Oct 15 2013