Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132315
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132315 Sum of the non-fourth powers less than or equal to n. +0
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; listen)
OFFSET

1,2

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 16-th entry in the sequence.

PROGRAM

(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: A132296 A112265 A075543 this_sequence A132336 A000096 A080956

Adjacent sequences: A132312 A132313 A132314 this_sequence A132316 A132317 A132318

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Nov 07 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research