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.
%I A244817 #7 Mar 14 2015 00:14:26 %S A244817 1,7,4,3,5,0,8,9,1,1,1,1,1,2,2,2,3,3,3,4,4,4,5,5,6,6,7,7,8,9,9,1,9,1, %T A244817 1,2,6,3,3,7,7,5,6,6,2,8,8,9,1,1,1,6,4,4,5,7,1,7,8,2,2,1,2,1,7,4,5,4, %U A244817 6,9,0,1,9,3,4,2,6,7,8,7,7,2,3,6,2,7,8,9,1,2,4,6,4,8,9,7,1,4,5,2,2,0,1,1,7 %N A244817 The hexagonal spiral of Champernowne, read along the 150-degree ray. %F A244817 (3n^2 - 3n + 1)th almost natural number (A033307), Also see formula section of A056105. %e A244817 see A244807 example section for its diagram. %t A244817 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 - 3n + 1 (* see formula section of A244807 *); Array[ almostNatural[ f@#, 10] &, 105] %Y A244817 Cf. A007376, A003215, A244807, A244808, A244809, A244810, A244811, A244812, A244813, A244814, A244815, A244816, A244818. %K A244817 nonn,easy %O A244817 1,2 %A A244817 _Robert G. Wilson v_, Jul 06 2014