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 A071977 #10 Dec 05 2013 19:55:20 %S A071977 1,3,5,7,8,10,11,13,15,17,18,19,21,22,23,25,29,31,35,37,41,43,44,45, %T A071977 46,47,48,50,51,53,55,57,59,61,63,65,67,68,70,71,73,74,76,77,79,81,83, %U A071977 87,89,91,93,97,99,101,103,104,105,106,107,108,109,111,112,113,114,115 %N A071977 Triangle in which first row is {1}; to get n-th row take first n numbers greater than last number in previous row which are relatively prime to n. %H A071977 Reinhard Zumkeller, <a href="/A071977/b071977.txt">Rows n=1..120 of triangle, flattened</a> %e A071977 Triangle begins 1; 3 5; 7 8 10; 11 13 15 17; 18 19 21 22 23; 25 29 31 35 37 41; .... %t A071977 a = {1}; k = 2; Do[i = 1; While[i < n + 1, If[ GCD[k, n] == 1, a = Append[a, k]; i++ ]; k++ ], {n, 2, 12}]; a %o A071977 (Haskell) %o A071977 a071977 n k = a071977_tabl !! (n-1) !! (k-1) %o A071977 a071977_row n = a071977_tabl !! (n-1) %o A071977 a071977_tabl = f 1 [1..] where %o A071977 f k xs = ys : f (k+1) (dropWhile (<= last ys) xs) where %o A071977 ys = take k $ filter ((== 1) . (gcd k)) xs %o A071977 -- _Reinhard Zumkeller_, Jan 18 2012 %Y A071977 Diagonals give A071978, A071979. %Y A071977 A033291. %K A071977 nonn,tabl %O A071977 1,2 %A A071977 _Amarnath Murthy_, Jun 18 2002 %E A071977 Edited by _Robert G. Wilson v_, Jun 28 2002