[go: up one dir, main page]

login
A113745
Generalized Mancala solitaire (A002491); to get n-th term, start with n and successively round up to next 8 multiples of n-1, n-2, ..., 1, for n>=1.
11
1, 9, 25, 49, 79, 121, 163, 219, 279, 349, 423, 507, 589, 687, 807, 927, 1027, 1171, 1309, 1453, 1579, 1743, 1909, 2101, 2263, 2479, 2703, 2851, 3073, 3279, 3499, 3807, 3973, 4239, 4543, 4767, 5067, 5293, 5563, 5893, 6159, 6547, 6799, 7189, 7419, 7839
OFFSET
1,2
MATHEMATICA
f[n_] := Fold[ #2*Ceiling[ #1/#2 + 7] &, n, Reverse@Range[n - 1]]; Array[f, 46]
CROSSREFS
Cf. {k=-1..12} A000012, A002491, A000960 (Flavius Josephus's sieve), A112557, A112558, A113742, A113743, A113744, A113746, A113747, A113748, A113749.
Sequence in context: A339128 A113659 A325701 * A348742 A016754 A110487
KEYWORD
nonn
AUTHOR
STATUS
approved