OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Perfect Number
Wikipedia, Perfect number
FORMULA
a(38+k) = 49+2k for all k>0 (up to occurrence of an odd perfect number, known to be > 10^300, if it exists). - M. F. Hasler, Feb 09 2012
PROG
(Haskell)
import Data.List (elemIndices)
a204878 n = a204878_list !! (n-1)
a204878_list = map (+ 1) $ elemIndices 0 a097796_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 20 2012
STATUS
approved