Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A140163
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A140163 a(1)=1, a(n)=a(n-1)+n^5 if n odd, a(n)=a(n-1)+ n^1 if n is even. +0
2
1, 3, 246, 250, 3375, 3381, 20188, 20196, 79245, 79255, 240306, 240318, 611611, 611625, 1371000, 1371016, 2790873, 2790891, 5266990, 5267010, 9351111, 9351133, 15787476, 15787500, 25553125, 25553151, 39902058, 39902086, 60413235 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=a(n-1)+{[1-(-1)^n]/2}*n^5+{[1+(-1)^n]/2}*n, with a(1)=1. a(n)= 1+1/4*(-1)^n*n+5/8*(-1)^n*n^2+5/24*n^2+1/4*n+1/12*n^6-1/4*(-1)^n*n^5+1/4*n^5-5/8 *(-1)^n*n^4+5/24*n^4, with n>=1 - Paolo P. Lava (ppl(AT)spl.at), Jun 06 2008

MATHEMATICA

a = {}; r = 5; s = 1; Do[k = 0; Do[k = k + (Sin[Pi m/2]^2) m^r + (Cos[Pi m/2]^2) m^s, {m, 1, n}]; AppendTo[a, k], {n, 1, 100}]; a (*Artur Jasinski*)

CROSSREFS

Cf. A000027, A000217, A000330, A000537, A000538, A000539, A136047, A140113.

Adjacent sequences: A140160 A140161 A140162 this_sequence A140164 A140165 A140166

Sequence in context: A069640 A013778 A092799 this_sequence A082717 A124875 A025418

KEYWORD

nonn

AUTHOR

Jasinski Artur (grafix(AT)csl.pl), May 12 2008

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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research