login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211792 a(n) = Sum_{y=1..n} Sum_{x=1..n} floor((x^k + y^k)^(1/k)) with k = 3. 3
1, 7, 22, 51, 97, 164, 258, 382, 541, 741, 982, 1271, 1611, 2008, 2466, 2986, 3577, 4241, 4982, 5807, 6715, 7714, 8808, 10000, 11297, 12701, 14217, 15848, 17600, 19477, 21482, 23620, 25895, 28313, 30879, 33592, 36460, 39487, 42678, 46036 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Row 3 of A211798.
LINKS
FORMULA
a(n) = Sum_{y=1..n} Sum_{x=1..n} floor((x^3 + y^3)^(1/3)).
a(n) = a(n-1) + floor((2*n^3)^(1/3)) + 2*Sum_{i = 1..n-1} floor((n^3 + i^3)^(1/3)) for n >= 2 and a(1) = 1. - David A. Corneth, Sep 12 2022
EXAMPLE
For a(3) we get the floor() values (1+2+3) + (2+2+3) + (3+3+3) = 22.
MATHEMATICA
f[x_, y_, k_] := f[x, y, k] = Floor[(x^k + y^k)^(1/k)]
t[k_, n_] := Sum[Sum[f[x, y, k], {x, 1, n}], {y, 1, n}]
Table[t[1, n], {n, 1, 45}] (* 2*A002411 *)
Table[t[2, n], {n, 1, 45}] (* A211791 *)
Table[t[3, n], {n, 1, 45}] (* A211792 *)
TableForm[Table[t[k, n], {k, 1, 12},
{n, 1, 16}]] (* A211798 *)
Flatten[Table[t[k, n - k + 1], {n, 1, 12}, {k, 1, n}]]
PROG
(PARI) first(n) = { res = vector(n); res[1] = 1; for(i = 2, n, i3 = i^3; s = sum(j = 1, i-1, sqrtnint(i3 + j^3, 3)); res[i] = res[i-1] + sqrtnint(2*i3, 3) + 2*s; ); res } \\ David A. Corneth, Sep 12 2022
CROSSREFS
Sequence in context: A002412 A211652 A211650 * A211635 A211634 A184629
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 26 2012
EXTENSIONS
Definition changed by Georg Fischer, Sep 10 2022
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 06:02 EDT 2024. Contains 372356 sequences. (Running on oeis4.)