login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156331 a(n)=8*A154811(n). 0
8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8, 8, 16, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, -1, 1).

FORMULA

Period length 12: a(n)=a(n-12).

a(n) = A154811(n+6) = A155110(n) (mod 9).

a(n)=(1/33)*{18*(n mod 12)+40*[(n+1) mod 12]+84*[(n+2) mod 12]-4*[(n+3) mod 12]+84*[(n+4) mod 12]+40*[(n+5) mod 12]+18*[(n+6) mod 12]-4*[(n+7) mod 12]-48*[(n+8) mod 12]+40*[(n+9) mod 12]-48*[(n+10) mod 12]-4*[(n+11) mod 12]}, with n>=0 [From Paolo P. Lava, Feb 13 2009]

MATHEMATICA

8*Mod[Fibonacci[Range[1, 151, 2]], 9] (* or *) PadRight[{}, 80, {8, 16, 40, 32, 56, 64, 64, 56, 32, 40, 16, 8}] (* Harvey P. Dale, Jul 10 2018 *)

CROSSREFS

Sequence in context: A197773 A057584 A063526 * A269513 A024700 A108576

Adjacent sequences:  A156328 A156329 A156330 * A156332 A156333 A156334

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Feb 08 2009

EXTENSIONS

Edited and extended by R. J. Mathar, Apr 10 2009

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 May 10 04:49 EDT 2021. Contains 343748 sequences. (Running on oeis4.)