OFFSET
1,2
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A001177(n^n)
EXAMPLE
a(2): least k>0 such that 2^2 divides Fibonacci(k) is k=6: Fibonacci(6)=8. So a(2)=6.
PROG
(Python)
TOP = 9
prpr = 0
prev = k = y = 1
res = [-1]*TOP
ii = [0]*TOP
for i in range(1, TOP):
ii[i] = i**i
while y<TOP:
for i in range(y, TOP):
if res[i]<0 and prev % ii[i] == 0:
res[i] = k
y += 1
for i in range(1, TOP):
print res[i],
print
curr = prpr+prev
prpr = prev
prev = curr
k += 1
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Aug 11 2012
EXTENSIONS
a(9) from Giovanni Resta, Jul 20 2013
Terms a(10) onward from Max Alekseyev, Jan 30 2014
STATUS
approved