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-2 of 2 results.

A232659 Numbers n such that n and n^4 have the same set of digits.

Original entry on oeis.org

0, 1, 10, 100, 1000, 10000, 35641, 100000, 129486, 146980, 356410, 465780, 1000000, 1059281, 1083749, 1206794, 1239876, 1245890, 1265360, 1294860, 1297853, 1348970, 1469800, 1486920, 1495860, 1567038, 1572086, 1574689, 1956740, 2035817, 2084615, 2114760
Offset: 1

Views

Author

Arkadiusz Wesolowski, Nov 27 2013

Keywords

Examples

			{1, 3, 4, 5, 6} - the set of digits of 35641 and of 35641^4, so 35641 is in the sequence.
		

Crossrefs

Programs

  • Magma
    [n : n in [0..2114760] | Set(Intseq(n)) eq Set(Intseq(n^4))];
    
  • Mathematica
    Select[Range[0,22*10^5],Union[IntegerDigits[#]]== Union[ IntegerDigits[ #^4]]&] (* Harvey P. Dale, Aug 02 2016 *)
  • PARI
    for(n=0, 2114760, if(Set(Vec(Str(n)))==Set(Vec(Str(n^4))), print1(n, ", ")));

A232661 Numbers n such that n and n^6 have the same set of digits.

Original entry on oeis.org

0, 1, 10, 100, 1000, 10000, 100000, 1000000, 1380796, 10000000, 10423786, 10489362, 10532689, 10689247, 10743958, 12645980, 13042697, 13674925, 13807960, 14205893, 14857690, 16892043, 17284360, 17983256, 19046537, 19754203, 20634971, 20637451, 21865409
Offset: 1

Views

Author

Arkadiusz Wesolowski, Nov 27 2013

Keywords

Examples

			{0, 1, 3, 6, 7, 8, 9} - the set of digits of 1380796 and of 1380796^6, so 1380796 is in the sequence.
		

Crossrefs

Programs

  • PARI
    for(n=0, 21865409, if(Set(Vec(Str(n)))==Set(Vec(Str(n^6))), print1(n, ", ")));
Showing 1-2 of 2 results.