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.

A194875 Rectangular array, by antidiagonals: row n gives the positions of n in the fractal sequence A194874; an interspersion.

This page as a plain text file.
%I A194875 #5 Mar 30 2012 18:57:44
%S A194875 1,3,2,5,4,6,9,7,10,8,13,11,14,12,15,19,16,20,17,21,18,25,22,26,23,27,
%T A194875 24,28,33,29,34,30,35,31,36,32,41,37,42,38,43,39,44,40,45,51,46,52,47,
%U A194875 53,48,54,49,55,50,62,57,63,58,64,59,65,60,66,61,56,73,68,75
%N A194875 Rectangular array, by antidiagonals: row n gives the positions of n in the fractal sequence A194874; an interspersion.
%C A194875 See A194832 for a general discussion.
%e A194875 Northwest corner:
%e A194875 1...3...5...9...13..19
%e A194875 2...4...7...11..16..22
%e A194875 6...10..14..20..26..34
%e A194875 8...12..17..23..30..38
%e A194875 15..21..27..35..43..53
%t A194875 r = -Sqrt[6];
%t A194875 t[n_] := Table[FractionalPart[k*r], {k, 1, n}];
%t A194875 f = Flatten[Table[Flatten[(Position[t[n], #1] &) /@
%t A194875 Sort[t[n], Less]], {n, 1, 20}]]   (* A194874 *)
%t A194875 TableForm[Table[Flatten[(Position[t[n], #1] &) /@
%t A194875 Sort[t[n], Less]], {n, 1, 15}]]
%t A194875 row[n_] := Position[f, n];
%t A194875 u = TableForm[Table[row[n], {n, 1, 20}]]
%t A194875 g[n_, k_] := Part[row[n], k];
%t A194875 p = Flatten[Table[g[k, n - k + 1], {n, 1, 13},
%t A194875 {k, 1, n}]]   (* A194875 *)
%t A194875 q[n_] := Position[p, n]; Flatten[
%t A194875 Table[q[n], {n, 1, 80}]]   (* A194876 *)
%Y A194875 Cf. A194832, A194874, A194876.
%K A194875 nonn,tabl
%O A194875 1,2
%A A194875 _Clark Kimberling_, Sep 04 2011