login
A174479
Triangle read by rows: T(n,k) = semiprime(n) mod A065516(k), where A065516 are differences between consecutive semiprimes.
2
0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 2, 0, 2, 0, 1, 0, 0, 3, 0, 3, 1, 0, 0, 1, 0, 3, 0, 0, 1, 0, 2, 0, 4, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 5, 1, 0, 0, 1, 0, 3, 0, 0, 0, 5, 0, 0, 1, 0, 2, 0, 4, 0, 1, 0, 6, 0, 0, 1, 2, 0, 3, 0, 5, 0, 2, 0, 0, 0, 0, 2
OFFSET
1,10
EXAMPLE
The triangle starts in row n=1 with columns 1 <= k <= n:
0;
0, 0;
1, 0, 0;
0, 1, 0, 2;
0, 2, 0, 2, 0;
1, 0, 0, 3, 0, 3;
MAPLE
A001358 := proc(n) if n= 1 then 4; else for a from procname(n-1)+1 do if numtheory[bigomega](a) = 2 then return a; end if; end do; end if; end proc:
A065516 := proc(n) A001358(n+1)-A001358(n) ; end proc:
A174479 := proc(n, k) A001358(n) mod A065516(k) ; end proc:
CROSSREFS
Sequence in context: A029832 A361879 A320535 * A134269 A335622 A172444
KEYWORD
nonn,easy,tabl
AUTHOR
STATUS
approved