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!)
A227896 32-beat repeating palindromic sequence: digital roots of Fibonacci numbers indexed by the set of natural numbers not divisible by 2, 3 or 5 (A007775). 3
1, 4, 8, 8, 4, 5, 1, 5, 4, 8, 4, 5, 1, 1, 5, 8, 8, 5, 1, 1, 5, 4, 8, 4, 5, 1, 5, 4, 8, 8, 4, 1, 1, 4, 8, 8, 4, 5, 1, 5, 4, 8, 4, 5, 1, 1, 5, 8, 8, 5, 1, 1, 5, 4, 8, 4, 5, 1, 5, 4, 8, 8, 4, 1, 1, 4, 8, 8, 4, 5, 1, 5, 4, 8, 4, 5, 1, 1, 5, 8, 8, 5, 1, 1, 5, 4, 8, 4, 5, 1, 5, 4, 8, 8, 4, 1, 1, 4, 8, 8, 4, 5, 1, 5, 4, 8, 4, 5, 1, 1, 5, 8, 8, 5, 1, 1, 5, 4, 8, 4, 5, 1, 5, 4, 8, 8, 4, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Colin Barker, Table of n, a(n) for n = 1..1000

Gary W. Croft, Twin Primes Demystified

Gary W. Croft, Digital Root Multiplication Matrix Produced by this Sequence

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

FORMULA

From Colin Barker, Sep 21 2019: (Start)

G.f.: x*(1 + 3*x + 4*x^2 - 4*x^4 + x^5 - 4*x^6 + 4*x^7 - x^8 + 4*x^9 - 4*x^10 + x^11 - 4*x^12 + 4*x^14 + 3*x^15 + x^16) / ((1 - x)*(1 + x^16)).

a(n) = a(n-1) - a(n-16) + a(n-17) for n>17.

(End)

PROG

(PARI) a(n)=fibonacci(n\8*6 + 9 + 3*(n+1)\2*2 - max(5, (n-2)%8)*2)%9 \\ Charles R Greathouse IV, Aug 26 2014

(PARI) a(n)=[1, 4, 8, 8, 4, 5, 1, 5, 4, 8, 4, 5, 1, 1, 5, 8, 8, 5, 1, 1, 5, 4, 8, 4, 5, 1, 5, 4, 8, 8, 4, 1][n%32+1] \\ Charles R Greathouse IV, Aug 26 2014

(PARI) Vec(x*(1 + 3*x + 4*x^2 - 4*x^4 + x^5 - 4*x^6 + 4*x^7 - x^8 + 4*x^9 - 4*x^10 + x^11 - 4*x^12 + 4*x^14 + 3*x^15 + x^16) / ((1 - x)*(1 + x^16)) + O(x^100)) \\ Colin Barker, Sep 21 2019

CROSSREFS

Cf. A007775, A030132.

Sequence in context: A319592 A200395 A064927 * A114610 A200390 A137209

Adjacent sequences:  A227893 A227894 A227895 * A227897 A227898 A227899

KEYWORD

nonn,base,easy,less

AUTHOR

Gary Croft, Oct 14 2013

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 April 8 04:26 EDT 2020. Contains 333312 sequences. (Running on oeis4.)