OFFSET
1,1
COMMENTS
Any a(n)^(2*k+1), k >= 0, is a member. Also, all products of an odd number of terms or products of a term of this sequence and a term of A045800 are members. Any a(n)^(2*k), k >= 0, as well as products of an even number of terms belong to A045800. - Klaus Purath, Jun 04 2026
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,1,-1).
FORMULA
G.f.: x*(51+6*x+36*x^2+6*x^3+x^4)/(1-x-x^4+x^5). - Colin Barker, Jan 23 2012
From Klaus Purath, Jun 04 2026: (Start)
a(n) = a(n-1) + a(n-4) - a(n-5), n >= 6.
a(n) = -A045800(1-n). (End)
MATHEMATICA
Select[Range[50, 1500], MemberQ[{51, 57, 93, 99}, Mod[#, 100]]&] (* Harvey P. Dale, Nov 14 2022 *)
PROG
(Haskell)
import Data.List (findIndices)
a045805 n = a045805_list !! (n-1)
a045805_list = findIndices (`elem` [51, 57, 93, 99]) $ cycle [0..99]
-- Reinhard Zumkeller, Jan 23 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved
