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!)
A154811 a(n) = Fibonacci(2*n+1) mod 9. 9
1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1, 1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1, 1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1, 1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1, 1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1, 1, 2, 5, 4, 7, 8, 8, 7, 4, 5, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Periodic with period length 12.
LINKS
FORMULA
a(n) = A001519(n+1) mod 9 = A122367(n) mod 9 = |A099496(n)| mod 9.
From R. J. Mathar, Apr 10 2009: (Start)
a(n) = a(n-1) - a(n-6) + a(n-7).
G.f.: -(1 + x + 3*x^2 - x^3 + 3*x^4 + x^5 + x^6)/((x - 1)*(x^2 + 1)*(x^4 - x^2 + 1)). (End)
MATHEMATICA
Mod[Fibonacci[Range[1, 151, 2]], 9] (* Harvey P. Dale, Jul 10 2018 *)
PROG
(PARI) a(n)=fibonacci(n%12*2+1)%9 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
Sequence in context: A085801 A023843 A153990 * A309513 A347068 A296203
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 15 2009
EXTENSIONS
Edited by R. J. Mathar, Jan 23 2009
Typo in A-number in first formula corrected by R. J. Mathar, Feb 23 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 13:25 EDT 2024. Contains 371254 sequences. (Running on oeis4.)