OFFSET
0,4
COMMENTS
Related to Flavius Josephus's sieve. See A278492 and the postings by David W. Wilson et al. on SeqFan list, Nov 22 2016.
LINKS
D. Wilson et al., Interesting sequence, SeqFan list, Nov. 2016
FORMULA
A(0, n) = n for n >= 0; A(k, n) = A(k - 1, [n*(k + 1)/k]) for k > 0 and n >= 0. Here [ ] stands for floor-function. From David W. Wilson's posting to SeqFan list on 22 Nov 2016.
EXAMPLE
The top left corner of the array:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
0, 2, 4, 6, 8, 10, 12, 14, 16, 18
0, 2, 6, 8, 12, 14, 18, 20, 24, 26
0, 2, 6, 12, 14, 18, 24, 26, 30, 36
0, 2, 6, 12, 18, 24, 26, 30, 38, 42
0, 2, 6, 12, 18, 26, 30, 38, 42, 48
0, 2, 6, 12, 18, 26, 38, 42, 48, 60
0, 2, 6, 12, 18, 26, 38, 48, 60, 62
0, 2, 6, 12, 18, 26, 38, 48, 62, 66
0, 2, 6, 12, 18, 26, 38, 48, 62, 78
MATHEMATICA
t[k_, n_] := t[k - 1, Floor[n*(k + 1)/k]]; t[0, n_] = n; Table[t[k - 1, n - k + 1], {n, 0, 12}, {k, 1, n + 1}] // Flatten (* Robert G. Wilson v, Nov 23 2016 *)
PROG
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Nov 23 2016 after David W. Wilson's posting on SeqFan list Nov 22 2016
STATUS
approved