OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
Join[{1}, NextPrime[Range[60]]] (* Harvey P. Dale, Jan 04 2012 *)
PROG
(Haskell)
a159477 n = a159477_list !! (n-1)
a159477_list = 1 : concat
(zipWith (\p q -> replicate (fromInteger $ (q - p)) q)
a008578_list $ tail a008578_list)
-- Reinhard Zumkeller, Nov 09 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Apr 13 2009
STATUS
approved