OFFSET
1,2
COMMENTS
A341510 is the main entry for this dyadic function. See comments there.
LINKS
FORMULA
T(n, k) = A341510(n, k).
EXAMPLE
The triangle begins as:
1,
2, 3,
3, 4, 5,
4, 5, 6, 9,
5, 6, 9, 8, 7,
6, 9, 8, 7, 10, 15,
7, 10, 15, 12, 25, 18, 11,
8, 7, 10, 15, 12, 25, 16, 27,
9, 8, 7, 10, 15, 12, 27, 18, 25,
etc.
PROG
(PARI)
up_to = 105;
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A156552(n) = { my(f = factor(n), p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
A341511list(up_to) = { my(v = vector(up_to), i=0); for(n=1, oo, for(k=1, n, i++; if(i > #v, return(v)); v[i] = A341510sq(n, k))); (v); };
v341511 = A341511list(up_to);
A341511(n) = v341511[n];
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Feb 15 2021
STATUS
approved