A129559 A054523 * A115361.
1, 2, 1, 2, 0, 1, 4, 2, 0, 1, 4, 0, 0, 0, 1, 4, 2, 2, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 8, 4, 0, 2, 0, 0, 0, 1, 6, 0, 2, 0, 0, 0, 0, 0, 1, 8, 4, 0, 0, 2, 0, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 4, 4, 2, 0, 2, 0, 0, 0, 0, 0, 1, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
Offset: 1
Examples
First few rows of the triangle: 1; 2, 1; 2, 0, 1; 4, 2, 0, 1; 4, 0, 0, 0, 1; 4, 2, 2, 0, 0, 1; 6, 0, 0, 0, 0, 0, 1; 8, 4, 0, 2, 0, 0, 0, 1; ...
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..1275
Crossrefs
Programs
-
PARI
T(n, k)=if(n%k, 0, eulerphi(2*n/k)) \\ Andrew Howroyd, Aug 07 2018
Formula
T(n,k) = phi(2*n/k) for k | n, T(n,k) = 0 otherwise. - Andrew Howroyd, Aug 07 2018
Extensions
Terms a(56) and beyond from Andrew Howroyd, Aug 07 2018
Comments