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

A055566 Sum of digits of n^5.

Original entry on oeis.org

0, 1, 5, 9, 7, 11, 27, 22, 26, 27, 1, 14, 27, 25, 29, 36, 31, 35, 45, 37, 5, 18, 25, 29, 36, 40, 35, 36, 28, 23, 9, 34, 29, 36, 31, 35, 36, 46, 41, 36, 7, 29, 27, 31, 35, 36, 46, 32, 45, 43, 11, 27, 22, 44, 36, 37, 41, 36, 52, 47, 27, 40, 35, 45, 37, 32, 36, 25, 47, 36, 22, 35
Offset: 0

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(2) = 5 because 2^4 = 32 and 3+2 = 5.
Trajectories under the map x->a(x):
1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->1 ->..
2 ->5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->..
3 ->9 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->..
4 ->7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->..
5 ->11 ->14 ->29 ->23 ->29 ->23 ->29 ->23 ->..
6 ->27 ->36 ->36 ->36 ->36 ->36 ->36 ->36 ->..
7 ->22 ->25 ->40 ->7 ->22 ->25 ->40 ->7 ->..
		

Crossrefs

Programs

  • Maple
    read("transforms") :
    A055566 := proc(n)
            digsum(n^5) ;
    end proc: # R. J. Mathar, Jul 08 2012
  • Mathematica
    Table[Total[IntegerDigits[n^5]],{n,0,80}] (* Harvey P. Dale, Feb 12 2023 *)
  • PARI
    a(n) = sumdigits(n^5); \\ Seiichi Manyama, Nov 16 2021

A055576 Sum of digits of a(n)^5 is equal to a(n).

Original entry on oeis.org

0, 1, 28, 35, 36, 46
Offset: 1

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(2) = 28 because 28^5 = 17210368 and 1+7+2+1+0+3+6+8 = 28
		

Crossrefs

Programs

  • Magma
    [n: n in [0..50] | &+Intseq(n^5) eq n ]; // Vincenzo Librandi, Feb 23 2015
  • Mathematica
    Select[Range[0, 60], #==Total[IntegerDigits[#^5]] &] (* Vincenzo Librandi, Feb 23 2015 *)
  • PARI
    lista(nn) = {for (n=0, nn, if (n^5 == sumdigits(n^5)^5, print1(n, ", ")););} \\ Michel Marcus, Feb 23 2015
    

Extensions

Offset changed to 1 by Michel Marcus, Feb 23 2015

A055570 Sum of digits of (a(n)^4) is greater than or equal to a(n).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 28, 36
Offset: 0

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(2) = 2 because 2^4 = 16 and 1+6 = 7>= 2
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0,50],Total[IntegerDigits[#^4]]>=#&] (* Harvey P. Dale, Jan 20 2020 *)

Extensions

Definition clarified by Harvey P. Dale, Jan 20 2020

A055572 Sum of digits of a(n)^6 is greater than or equal to a(n).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 39, 42, 44, 45, 46, 51, 52, 54, 64
Offset: 0

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(2) = 2 because 2^6 = 64 and 6+4 = 10>= 2
		

Crossrefs

A055569 Sum of digits of a(n)^3 is greater than or equal to a(n).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 26, 27
Offset: 0

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			a(4) = 4 because 4^3 = 64 and 6+4 = 10>= 4
		

Crossrefs

Programs

  • Mathematica
    Select[Range[300],Total[IntegerDigits[#^3]]>=#&] (* Harvey P. Dale, Aug 27 2013 *)

A055568 Numbers not greater than the sum of digits of their squares.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 17
Offset: 1

Views

Author

Henry Bottomley, May 26 2000

Keywords

Examples

			4 is a term because 4^2 = 16 and 1+6 = 7 >= 4.
		

Crossrefs

A081030 a(n) = largest k such that (sum of digits of k^n) >= k.

Original entry on oeis.org

9, 17, 27, 36, 46, 64, 68, 74, 88, 117, 123, 138, 146, 154, 199, 204, 216, 232, 232, 242, 259, 256, 284, 323, 337, 344, 341, 357, 358, 396, 443, 393, 423, 465, 477, 484, 519, 521, 533, 518, 569, 597, 591, 626, 638, 682, 666, 667, 695, 712, 698, 739, 746, 784
Offset: 1

Views

Author

David W. Wilson, Mar 02 2003

Keywords

Examples

			a(2) = 17. We have 17^2 = 289 and 2+8+9 >= 17. No number > 17 has this property.
		

Crossrefs

Programs

  • Mathematica
    (* the constant 20 may need to be higher for larger n *) Table[Select[Range[20*n], Total[IntegerDigits[#^n]] >= # &][[-1]], {n, 100}] (* T. D. Noe, Oct 21 2011 *)

Extensions

Definition corrected by Harvey P. Dale, Oct 21 2011
Showing 1-7 of 7 results.