OFFSET
1,2
COMMENTS
n-th row has length 1 if n = 1, A001222(n) if n > 1.
LINKS
Peter Kagey, Table of n, a(n) for n = 1..10000
FORMULA
Row n is row n of A027746 in reverse order.
EXAMPLE
Table begins:
1;
2;
3;
2,2;
5;
3,2;
7;
2,2,2;
3,3;
5,2;
...
PROG
(Haskell)
a238689_row 1 = [1]
a238689_row n = a n [] a000040_list where
a m factors ps@(p:ps')
| m == 1 = factors
| m `mod` p == 0 = a (m `div` p) (p : factors) ps
| otherwise = a m factors ps'
a _ _ [] = [] -- Peter Kagey, Sep 15 2016
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Matthew Vandermast, Apr 28 2014
STATUS
approved