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!)
A130496 Repetition of even numbers, with initial zeros, five times. 1
0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 6, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10, 12, 12, 12, 12, 12, 14, 14, 14, 14, 14, 16, 16, 16, 16, 16, 18, 18, 18, 18, 18, 20, 20, 20, 20, 20, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 26, 26, 26, 26, 26, 28, 28, 28, 28, 28, 30, 30, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
FORMULA
a(n)= -2 + 2*Sum_{k=0..n} {[8*(sin(2*Pi*k/5))^2-5]^2-5}/20, with n>=0. a(n)= -2 + 2*Sum_{k=0..n} 1/50*{-9*[k mod 5]+[(k+1) mod 5]+[(k+2) mod 5]+[(k+3) mod 5]+11*[(k+4) mod 5]}, with n>=0.
a(n)=-2+2*Sum{k=0..n}{1-(k^4 mod 5)}, with n>=0 [From Paolo P. Lava, Feb 17 2010]
MAPLE
P:=proc(n) local i, j, k; for i from 0 by 1 to n do j:=-2+2*sum('(8*(sin(2*Pi*k/5))^2-5)^2-5', 'k'=0..i)/20; print(j); od; end: P(100);
MATHEMATICA
Table[#, 5]&/@(2*Range[0, 15])//Flatten (* Harvey P. Dale, Sep 11 2016 *)
CROSSREFS
Cf. A122461.
Sequence in context: A295101 A160675 A105674 * A187243 A001299 A001300
KEYWORD
easy,nonn
AUTHOR
STATUS
approved

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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)