Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132336
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132336 Sum of the non-fifth powers less than or equal to n. +0
1
0, 2, 5, 9, 14, 20, 27, 35, 44, 54, 65, 77, 90, 104, 119, 135, 152, 170, 189, 209, 230, 252, 275, 299, 324, 350, 377, 405, 434, 464, 495, 495, 528, 562, 597, 633, 670, 708, 747, 787, 828, 870, 913, 957, 1002, 1048, 1095, 1143, 1192, 1242, 1293, 1345, 1398, 1452 (list; graph; listen)
OFFSET

1,2

FORMULA

Let r = floor(n^(1/5)). Then a(n) = n(n+1)/2 - (2r^6+6r^5+5r^4-r^2)/12.

PROGRAM

(PARI) g5(n)=for(x=1, n, r=floor(x^(1/5)); sum5=(2*r^6+6*r^5+5*r^4-r^2)/12; sn=x* (x+1)/2; print1(sn-sum5", "))

CROSSREFS

Different from A000096.

Adjacent sequences: A132333 A132334 A132335 this_sequence A132337 A132338 A132339

Sequence in context: A112265 A075543 A132315 this_sequence A000096 A080956 A132337

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 8 20:39 EST 2009. Contains 166234 sequences.


AT&T Labs Research