|
|
|
|
1, 2, 1, 1, 0, 1, 3, 2, 0, 1, 1, 0, 0, 0, 1, 2, 1, 2, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 4, 3, 0, 2, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 2, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 2, 3, 1, 0, 2, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The inverse Moebius transform of the first column of A115361 which is A209229 gives the first column of this sequence.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
First few rows of the triangle are:
1;
2, 1;
1, 0, 1;
3, 2, 0, 1;
1, 0, 0, 0, 1;
2, 1, 2, 0, 0, 1;
1, 0, 0, 0, 0, 0, 1;
4, 3, 0, 2, 0, 0, 0, 1;
...
|
|
MAPLE
|
|
|
MATHEMATICA
|
T[n_, k_] := If[Mod[n, k] != 0, 0, 1 + IntegerExponent[n/k, 2]];
|
|
PROG
|
(PARI) T(n, k)={if(n%k, 0, 1 + valuation(n/k, 2))} \\ Andrew Howroyd, Aug 04 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|