login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

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

Table of n, a(n) for n=0..77.

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

Adjacent sequences:  A130493 A130494 A130495 * A130497 A130498 A130499

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava and Giorgio Balzarotti, May 31 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 07:47 EST 2019. Contains 329914 sequences. (Running on oeis4.)