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

%I #4 Mar 13 2015 00:39:10

%S 0,2,5,9,14,20,27,35,44,54,65,77,90,104,119,119,136,154,173,193,214,

%T 236,259,283,308,334,361,389,418,448,479,511,544,578,613,649,686,724,

%U 763,803,844,886,929,973,1018,1064,1111,1159,1208,1258,1309,1361,1414,1468

%N Sum of the non-fourth powers less than or equal to n.

%F Let r = floor(n^(1/4)). Then a(n) = n(n+1)/2 - (r^5/5+r^4/2+r^3/3-r/30).

%e Let n=16.

%e 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.

%o (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","))

%K nonn

%O 1,2

%A _Cino Hilliard_, Nov 07 2007

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 18 18:49 EDT 2024. Contains 371781 sequences. (Running on oeis4.)