OFFSET
1,1
FORMULA
a(n,k) | sum{j=1..n-1,l=1,2,...} a(j,l). a(n,k) > a(n,k-1). a(n,k)=A000040(s) for some s. - R. J. Mathar, Jun 23 2006
EXAMPLE
Array begins:
2
2
2
2,3
11
2,11
5,7
47
2,47
The sum of these terms is 143.
Since the distinct primes which divide 143 are 11 and 13, row 10 =(11,13).
MAPLE
A119762 := proc(nmax) local a, dvs, j; a := [2] ; while nops(a) < nmax do dvs := op(2, ifactors(sum('a[i]', i=1..nops(a)))) ; for j from 1 to nops(dvs) do a := [op(a), op(1, op(j, dvs))] ; od ; od ; end: a := A119762(200) : for i from 1 to nops(a) do printf("%d, ", a[i]) ; od ; # R. J. Mathar, Jun 23 2006
PROG
(PLT Scheme) ;; factorize is a prime-factorization routine that returns a list of (prime exponent) pairs for each factor.
(define (A119762 n seq)
(cond
[(= n 0) seq]
[else (A119762 (sub1 n) (append seq (map first (factorize (apply + seq)))))]))
(A119762 50 (list 2)) ;; - Joshua Zucker, Jun 21 2006
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Leroy Quet, Jun 18 2006
EXTENSIONS
More terms from Joshua Zucker and R. J. Mathar, Jun 21 2006
STATUS
approved