Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131290
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131290 1 followed by period 6 sequence formed by repeating 3, 2, 0, -1, 0, 2. +0
12
1, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1, 0, 2, 3, 2, 0, -1 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n)=(1/30)*{-8*(n mod 6)-3*[(n+1) mod 6]+7*[(n+2) mod 6]+12*[(n+3) mod 6]+7*[(n+4) mod 6]-3*[(n+5) mod 6]}+[(n+2) mod (n+1)]-1, with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Oct 24 2007

O.g.f.: -1+(x+1)/(x^2-x+1)-1/(x-1). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2008

MAPLE

A131290 := proc(n) if n = 0 then 1; else op(((n-1)mod 6)+1, [3, 2, 0, -1, 0, 2]) ; fi ; end: seq(A131290(n), n=0..100) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2008

CROSSREFS

Cf. A130869, A079757, A100219.

Sequence in context: A062707 A059033 A133209 this_sequence A116604 A138741 A079618

Adjacent sequences: A131287 A131288 A131289 this_sequence A131291 A131292 A131293

KEYWORD

sign,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Sep 29 2007

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 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 December 2 15:58 EST 2008. Contains 150992 sequences.


AT&T Labs Research