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 A141074 #13 Jul 16 2025 22:32:57 %S A141074 0,0,2,18,402,7850,162290,3667650,91171010,2486784402,74062575402, %T A141074 2395420006034,83695120256594,3143661612445146,126375169532421602, %U A141074 5415486851106043650,246486713303685957378,11877172892329028459042 %N A141074 a(n) = n^(n+1)-(n+1)^n+1-(-1)^prime(n+1)-(-1)^(n+1). %t A141074 a[n_]:=n^(n+1)-(n+1)^n+1-(-1)^Prime[n+1]-(-1)^(n+1);Array[a,18,0] (* _James C. McMahon_, Jul 16 2025 *) %K A141074 nonn %O A141074 0,3 %A A141074 _Juri-Stepan Gerasimov_, Aug 05 2008 %E A141074 Corrected by _D. S. McNeil_, Mar 21 2009