OFFSET
1,2
COMMENTS
n comes first, then minimal factorization (12=2*6). Resultant factor is further resolved as much as possible, (2*6 = 2*2*3). The natural number or initial factors are then incremented, (3*4, 13.)
EXAMPLE
E.g., 12 = 2*6 = 2*2*3 = 3*4
1;
2;
3;
4,2,2;
5;
6,2,3;
7;
8,2,4,2,2,2;
9,3,3;
10,2,5;
11;
12,2,6,2,2,3,3,4;
PROG
(Sage)
def factorizations(n) : return fact_helper(n, 2)
def fact_helper(n, min) : return sum(([[d] + F for F in fact_helper(n//d, d)] for d in divisors(n) if d >= min and d <= isqrt(n)), [[n]])
# Eric M. Schmidt, Jun 06 2014
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Donald S. McDonald, Dec 07 2002
EXTENSIONS
More terms from Eric M. Schmidt, Jun 06 2014
STATUS
approved