cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A113746 Generalized Mancala solitaire (A002491); to get n-th term, start with n and successively round up to next 9 multiples of n-1, n-2, ..., 1, for n>=1.

Original entry on oeis.org

1, 10, 28, 54, 90, 132, 180, 240, 318, 394, 480, 570, 672, 778, 898, 1042, 1174, 1332, 1474, 1632, 1812, 1992, 2160, 2340, 2580, 2760, 3018, 3252, 3502, 3720, 3972, 4222, 4498, 4818, 5118, 5382, 5718, 6022, 6378, 6672, 7038, 7378, 7714, 8112, 8430, 8850
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. {k=-1..12} A000012, A002491, A000960 (Flavius Josephus's sieve), A112557, A112558, A113742, A113743, A113744, A113745, A113746, A113747, A113748; det. A113749.

Programs

  • Mathematica
    f[n_] := Fold[ #2*Ceiling[ #1/#2 + 8] &, n, Reverse@Range[n - 1]]; Array[f, 46]