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.

A244688 The spiral of Champernowne read by the South-Southwest ray.

This page as a plain text file.
%I A244688 #6 Jul 05 2014 17:06:44
%S A244688 1,1,2,8,1,8,2,3,1,4,5,0,8,9,0,9,1,1,5,4,2,2,2,2,1,2,0,2,8,3,9,6,3,4,
%T A244688 9,2,6,5,1,1,7,7,3,2,6,8,7,7,3,9,0,5,1,1,6,1,3,1,1,4,3,1,1,1,3,5,2,1,
%U A244688 1,5,7,4,1,1,8,0,7,2,2,2,2,2,2,2,8,5,9,2,2,6,8,8,2,2,5,1,8,3,3,6,4,9,3,3,9
%N A244688 The spiral of Champernowne read by the South-Southwest ray.
%F A244688 See A244677 formula section.
%e A244688 See A244677 for the spiral of David Gawen Champernowne.
%t A244688 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_] := 16n^2 - 27n + 12 (* see A244677 formula section *); Array[ almostNatural[ f@#, 10] &, 105]
%Y A244688 Cf. A033307, A143838, A033952, A244677-A244687, A244690-A244692.
%K A244688 nonn,easy
%O A244688 1,3
%A A244688 _Robert G. Wilson v_, Jul 04 2014