OFFSET
1,2
FORMULA
EXAMPLE
A131088 = (1; 3,1; 3,0,1; 2,3,0,1; ...).
PROG
(PARI) T(n, k) = 2*!(n%k) - if (!(n % k), moebius(n/k), 0); \\ A131088
a(n) = T(n, 1); \\ Michel Marcus, Feb 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jun 14 2007
EXTENSIONS
More terms from Michel Marcus, Feb 26 2022
STATUS
approved