cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A132315 #4 Mar 13 2015 00:39:10
%S A132315 0,2,5,9,14,20,27,35,44,54,65,77,90,104,119,119,136,154,173,193,214,
%T A132315 236,259,283,308,334,361,389,418,448,479,511,544,578,613,649,686,724,
%U A132315 763,803,844,886,929,973,1018,1064,1111,1159,1208,1258,1309,1361,1414,1468
%N A132315 Sum of the non-fourth powers less than or equal to n.
%F A132315 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 A132315 Let n=16.
%e A132315 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 A132315 (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 A132315 nonn
%O A132315 1,2
%A A132315 _Cino Hilliard_, Nov 07 2007