OFFSET
0,5
EXAMPLE
Table begins:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 2, 4, 6, 10, 12, 18, 22, 30, 34, ...
1, 3, 7, 13, 19, 27, 39, 49, 63, 79, ...
1, 4, 13, 28, 61, 88, 133, 208, 313, 364, ...
1, 5, 21, 61, 125, 261, 421, 605, 1101, 1681, ...
1, 6, 31, 96, 241, 546, 1171, 1776, 2761, 5046, ...
1, 7, 43, 169, 505, 1051, 2527, 5083, 7729, 11635, ...
1, 8, 57, 232, 785, 1800, 5041, 11096, 22737, 34504, ...
1, 9, 73, 361, 1153, 3961, 8281, 20161, 43633, 95049, ...
1, 10, 91, 460, 1981, 5950, 13951, 38080, 91081, 186130, ...
...
PROG
(PARI) {T(n, k)=local(A=k, B=0, C=0); if(n==0||k==0, 1, until(A==B, C=C+1; if(C%n==0, C=C+1); B=A; A=floor(A*(C+1)/C)); 1+A)}
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Paul D. Hanna, Oct 14 2005
STATUS
approved