Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #6 Mar 04 2014 23:51:05
%S 0,0,2,18,402,7850,162290,3667650,91171010,2486784402,74062575402,
%T 2395420006034,83695120256594,3143661612445146,126375169532421602,
%U 5415486851106043650,246486713303685957378,11877172892329028459042
%N a(n) = n^(n+1)-(n+1)^n+1-(-1)^p(n+1)-(-1)^(n+1) where p(i) = i-th prime.
%K nonn
%O 0,3
%A _Juri-Stepan Gerasimov_, Aug 05 2008
%E Corrected by _D. S. McNeil_, Mar 21 2009