OFFSET
0,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..17
FORMULA
a(n) = k^(n-th Fibonacci number) with k=2 if n is odd, k=5 if n is even
EXAMPLE
a(6) = 390625, since a(4)/a(5) = 125/32 = 3.90625
PROG
(Haskell)
a061083 n = a061083_list !! n
a061083_list = 1 : 2 : zipWith divIgnPnt a061083_list (tail a061083_list)
where divIgnPnt x y = ddiv (10 * m) x' where
ddiv u w | r == 0 = 10 * w + q
| otherwise = ddiv (10 * r) (10 * w + q)
where (q, r) = divMod u y
(x', m) = divMod x y
-- Reinhard Zumkeller, Dec 29 2011
CROSSREFS
KEYWORD
nonn,easy,nice,base
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
STATUS
approved