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!)
A132315 Sum of the non-fourth powers less than or equal to n. 1
0, 2, 5, 9, 14, 20, 27, 35, 44, 54, 65, 77, 90, 104, 119, 119, 136, 154, 173, 193, 214, 236, 259, 283, 308, 334, 361, 389, 418, 448, 479, 511, 544, 578, 613, 649, 686, 724, 763, 803, 844, 886, 929, 973, 1018, 1064, 1111, 1159, 1208, 1258, 1309, 1361, 1414, 1468 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Let r = floor(n^(1/4)). Then a(n) = n(n+1)/2 - (r^5/5+r^4/2+r^3/3-r/30).
EXAMPLE
Let n=16.
The sum of the non-quartic numbers <= 16 is 2+3+4+5+6+7+8+9+10+11+12+13+14+15 = 119, the 16th entry in the sequence.
PROG
(PARI) g4(n)=for(x=1, n, r=floor(x^(1/4)); sum4=r^5/5+r^4/2+r^3/3-r/30; sn=x*(x+1)/2; print1(sn-sum4", "))
CROSSREFS
Sequence in context: A275586 A333449 A075543 * A079509 A132336 A272370
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 07 2007
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 April 19 16:03 EDT 2024. Contains 371794 sequences. (Running on oeis4.)