login
A077582
Sum of terms of n-th row of A077581.
4
1, 4, 7, 16, 16, 54, 29, 64, 61, 124, 67, 216, 92, 228, 211, 256, 154, 486, 191, 500, 385, 532, 277, 864, 391, 732, 547, 914, 436, 1688, 497, 1024, 895, 1228, 890, 1944, 704, 1524, 1232, 2000, 862, 3090, 947, 2128, 1897, 2212, 1129, 3456, 1401, 3124, 2068
OFFSET
1,2
COMMENTS
a(p) = p(p-1)/2 + p+1 = (p^2 + p + 2)/2, if p is a prime. a(2^n) = 2^(2n).
LINKS
PROG
(Haskell)
a077582 = sum . a077581_row -- Reinhard Zumkeller, Sep 26 2014
CROSSREFS
Sequence in context: A361975 A166669 A286701 * A037373 A310928 A018887
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 14 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 11 2003
STATUS
approved