login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004844 Numbers that are the sum of at most 4 positive 5th powers. 1
0, 1, 2, 3, 4, 32, 33, 34, 35, 64, 65, 66, 96, 97, 128, 243, 244, 245, 246, 275, 276, 277, 307, 308, 339, 486, 487, 488, 518, 519, 550, 729, 730, 761, 972, 1024, 1025, 1026, 1027, 1056, 1057, 1058, 1088, 1089, 1120, 1267, 1268, 1269, 1299, 1300, 1331, 1510, 1511 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..10000

MAPLE

b:= proc(n, i, t) option remember; n=0 or i>0 and t>0

      and (b(n, i-1, t) or i^5<=n and b(n-i^5, i, t-1))

    end:

a:= proc(n) option remember; local k;

      for k from 1+ `if`(n=1, -1, a(n-1))

      while not b(k, iroot(k, 5), 4) do od; k

    end:

seq(a(n), n=1..50);  # Alois P. Heinz, Sep 16 2016

CROSSREFS

Sequence in context: A250189 A255253 A076592 * A037324 A067242 A028354

Adjacent sequences:  A004841 A004842 A004843 * A004845 A004846 A004847

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 14:38 EDT 2019. Contains 324152 sequences. (Running on oeis4.)