editing
approved
editing
approved
The hexagonal spiral of Champernowne, read along the 30° -degree ray.
approved
editing
editing
approved
The hexagonal spiral of Champernowne, read along the 30° ray.
proposed
editing
editing
proposed
editing
proposed
The hexagonal spiral of Champernowne, read the 30° ray.
see See A244807 example section for its diagram.
almostNatural[n_, b_] := Block[{m = 0, d = n, i = 1, l, p}, While[m <= d, l = m; m = (b - 1) i*b^(i - 1) + l; i++]; i--; p = Mod[d - l, i]; q = Floor[(d - l)/i] + b^(i - 1); If[p != 0, IntegerDigits[q, b][[p]], Mod[q - 1, b]]]; f[n_] := 3n^2- 7n+ 5 (* see formula section of A244807 *); Array[ almostNatural[ f@#, 10] &, 105]
proposed
editing
editing
proposed
allocated for Robert G The hexagonal spiral of Champernowne, read the 30° ray. Wilson v
1, 3, 0, 7, 7, 0, 6, 5, 7, 1, 3, 5, 1, 1, 2, 2, 7, 2, 3, 1, 3, 4, 3, 5, 6, 3, 0, 7, 1, 6, 9, 7, 7, 0, 1, 7, 0, 2, 3, 8, 7, 5, 5, 3, 8, 7, 8, 2, 3, 0, 1, 5, 2, 3, 4, 2, 5, 7, 7, 3, 2, 0, 1, 8, 3, 4, 5, 7, 8, 8, 9, 0, 7, 2, 3, 7, 0, 7, 8, 8, 7, 1, 3, 3, 8, 6, 8, 2, 3, 1, 3, 5, 2, 7, 8, 2, 5, 3, 4, 3, 2, 9, 0, 8, 3
1,2
see A244807 example section for its diagram.
almostNatural[n_, b_] := Block[{m = 0, d = n, i = 1, l, p}, While[m <= d, l = m; m = (b - 1) i*b^(i - 1) + l; i++]; i--; p = Mod[d - l, i]; q = Floor[(d - l)/i] + b^(i - 1); If[p != 0, IntegerDigits[q, b][[p]], Mod[q - 1, b]]]; f[n_] := 3n^2- 7n+ 5 (* see formula section of A244807 *); Array[ almostNatural[ f@#, 10] &, 105]
allocated
nonn,easy
Robert G. Wilson v, Jul 06 2014
approved
editing