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.

A055577 Numbers k such that the sum of digits of k^6 is equal to k.

Original entry on oeis.org

0, 1, 18, 45, 54, 64
Offset: 1

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(2) = 18 because 18^6 = 34012224 and 3+4+0+1+2+2+2+4 = 18
		

Crossrefs

Programs

  • Magma
    [n: n in [0..100] | &+Intseq(n^6) eq n ]; // Vincenzo Librandi, Feb 23 2015
    
  • Mathematica
    Select[Range[0,100],#==Total[IntegerDigits[#^6]]&] (* Harvey P. Dale, Oct 26 2011 *)
  • PARI
    isok(k)=sumdigits(k^6)==k \\ Patrick De Geest, Dec 13 2024
  • Sage
    [n for n in (0..70) if sum((n^6).digits()) == n] # Bruno Berselli, Feb 23 2015