OFFSET
1,2
REFERENCES
J. E. A. Steggall, On the numbers of patterns which can be derived from certain elements, Mess. Math., 37 (1907), 56-61.
LINKS
Reinhard Zumkeller, Rows n = 1..125 of triangle, flattened
C. L. Mallows and N. J. A. Sloane, Notes on A002618, A002619, etc.
N. J. A. Sloane, Notes on A002618, A002619, etc.
J. E. A. Steggall, On the numbers of patterns which can be derived from certain elements, Mess. Math., 37 (1907), 56-61.
J. E. A. Steggall, On the numbers of patterns which can be derived from certain elements, Mess. Math., 37 (1907), 56-61. [Annotated scanned copy. Note that the scanned pages are out of order]
MATHEMATICA
U[n_, k_] := If[ Divisible[n, k], EulerPhi[n/k]*(n/k)^k*k!, 0]; a[n_, k_] := Sum[ If[ Divisible[n, k], MoebiusMu[d]*U[n, k/d], 0], {d, Divisors[k]}]; Flatten[ Table[ a[n, k], {n, 1, 12}, {k, 1, n}]] (* Jean-François Alcover, May 04 2012 *)
PROG
(Haskell)
a047918 n k = sum [a008683 (fromIntegral d) * a047916 n (k `div` d) |
mod n k == 0, d <- [1..k], mod k d == 0]
a047918_row n = map (a047918 n) [1..n]
a047918_tabl = map a047918_row [1..]
-- Reinhard Zumkeller, Mar 19 2014
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Mar 19 2014
STATUS
approved