OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
FORMULA
Empirical G.f.: x*(67+2*x+12*x^2+2*x^3+17*x^4)/(1-x-x^4+x^5). [Colin Barker, Jan 23 2012]
MATHEMATICA
Select[Range[1300], MemberQ[{67, 69, 81, 83}, Mod[#, 100]]&] (* Harvey P. Dale, Jul 03 2013 *)
PROG
(Haskell)
import Data.List (findIndices)
a045808 n = a045808_list !! (n-1)
a045808_list = findIndices (`elem` [67, 69, 81, 83]) $ cycle [0..99]
-- Reinhard Zumkeller, Jan 23 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman.
STATUS
approved