login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A141074
a(n) = n^(n+1)-(n+1)^n+1-(-1)^p(n+1)-(-1)^(n+1) where p(i) = i-th prime.
1
0, 0, 2, 18, 402, 7850, 162290, 3667650, 91171010, 2486784402, 74062575402, 2395420006034, 83695120256594, 3143661612445146, 126375169532421602, 5415486851106043650, 246486713303685957378, 11877172892329028459042
OFFSET
0,3
CROSSREFS
Sequence in context: A201732 A374278 A260656 * A351052 A082402 A208055
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by D. S. McNeil, Mar 21 2009
STATUS
approved