login
Sum of terms of n-th row of A077581.
4

%I #9 Sep 26 2014 13:24:45

%S 1,4,7,16,16,54,29,64,61,124,67,216,92,228,211,256,154,486,191,500,

%T 385,532,277,864,391,732,547,914,436,1688,497,1024,895,1228,890,1944,

%U 704,1524,1232,2000,862,3090,947,2128,1897,2212,1129,3456,1401,3124,2068

%N Sum of terms of n-th row of A077581.

%C a(p) = p(p-1)/2 + p+1 = (p^2 + p + 2)/2, if p is a prime. a(2^n) = 2^(2n).

%H Reinhard Zumkeller, <a href="/A077582/b077582.txt">Table of n, a(n) for n = 1..10000</a>

%o (Haskell)

%o a077582 = sum . a077581_row -- _Reinhard Zumkeller_, Sep 26 2014

%Y Cf. A069213, A077581.

%K nonn

%O 1,2

%A _Amarnath Murthy_, Nov 14 2002

%E More terms from _Sascha Kurz_, Jan 11 2003