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 A132178 #3 Mar 30 2012 17:39:25 %S A132178 0,0,1,0,0,1,0,0,1,0,0,0,2,0,1,0,2,4,4,2,0,1,6,19,16,15,2,1,6,36,84, %T A132178 108,90,24,12,0,44,230,542,722,602,266,98,14,2,208,1284,3478,5272, %U A132178 5202,3004,1378,264,70,0,912,6856,21784,39496,46816,35680,20824,6616,2224,184,48 %N A132178 Triangle read by rows: T(n,m) is the number of cyclic permutations of [n] in which m of successive numbers add to a prime. 0<=m<=n, read by rows n>=0. %C A132178 The last entry of the (2n)th row is A051252(n). Row sums are apparently in A001710(n-1). %e A132178 The triangle starts %e A132178 n| %e A132178 0| 0 %e A132178 1| 0 1 %e A132178 2| 0 0 1 %e A132178 3| 0 0 1 0 %e A132178 4| 0 0 2 0 1 %e A132178 5| 0 2 4 4 2 0 %e A132178 6| 1 6 19 16 15 2 1 %e A132178 7| 6 36 84 108 90 24 12 0 %e A132178 8| 44 230 542 722 602 266 98 14 2 %e A132178 9| 208 1284 3478 5272 5202 3004 1378 264 70 0 %e A132178 10| 912 6856 21784 39496 46816 35680 20824 6616 2224 184 48 %e A132178 11| 8016 58232 188160 358080 449424 380592 237888 95280 32880 4776 1072 0 %e A132178 12| 61952 465472 1597312 3298432 4563264 4406592 3152064 1578816 641088 151936 38336 2624 512 %K A132178 nonn,tabl %O A132178 0,13 %A A132178 _R. J. Mathar_, Nov 04 2007