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 A077582 #9 Sep 26 2014 13:24:45 %S A077582 1,4,7,16,16,54,29,64,61,124,67,216,92,228,211,256,154,486,191,500, %T A077582 385,532,277,864,391,732,547,914,436,1688,497,1024,895,1228,890,1944, %U A077582 704,1524,1232,2000,862,3090,947,2128,1897,2212,1129,3456,1401,3124,2068 %N A077582 Sum of terms of n-th row of A077581. %C A077582 a(p) = p(p-1)/2 + p+1 = (p^2 + p + 2)/2, if p is a prime. a(2^n) = 2^(2n). %H A077582 Reinhard Zumkeller, <a href="/A077582/b077582.txt">Table of n, a(n) for n = 1..10000</a> %o A077582 (Haskell) %o A077582 a077582 = sum . a077581_row -- _Reinhard Zumkeller_, Sep 26 2014 %Y A077582 Cf. A069213, A077581. %K A077582 nonn %O A077582 1,2 %A A077582 _Amarnath Murthy_, Nov 14 2002 %E A077582 More terms from _Sascha Kurz_, Jan 11 2003