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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004869 Numbers that are the sum of at most 7 positive 7th powers. 1
0, 1, 2, 3, 4, 5, 6, 7, 128, 129, 130, 131, 132, 133, 134, 256, 257, 258, 259, 260, 261, 384, 385, 386, 387, 388, 512, 513, 514, 515, 640, 641, 642, 768, 769, 896, 2187, 2188, 2189, 2190, 2191, 2192, 2193, 2315, 2316, 2317, 2318, 2319, 2320, 2443, 2444, 2445 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MAPLE

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

      and (b(n, i-1, t) or i^7<=n and b(n-i^7, 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, 7), 7) do od; k

    end:

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

CROSSREFS

Sequence in context: A037334 A037441 A270436 * A115916 A065667 A099146

Adjacent sequences:  A004866 A004867 A004868 * A004870 A004871 A004872

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from Alois P. Heinz, Sep 16 2016

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 November 19 03:48 EST 2019. Contains 329310 sequences. (Running on oeis4.)