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 A227546 #31 Aug 07 2025 06:18:33 %S A227546 2,3,7,16,41,146,757,5090,40385,362962,3628901,39916922,479001745, %T A227546 6227020970,87178291397,1307674368226,20922789888257,355687428096290, %U A227546 6402373705728325,121645100408832362,2432902008176640401,51090942171709440442,1124000727777607680485 %N A227546 a(n) = n! + n^2 + 1. %H A227546 Vincenzo Librandi, <a href="/A227546/b227546.txt">Table of n, a(n) for n = 0..200</a> %F A227546 (n^3 -6*n^2 +11*n -7)*a(n) -(n^4 -5*n^3 +8*n^2 -5*n -1)*a(n-1) +(n-1)*(n^3 -3*n^2 +2*n -1)*a(n-2) = 0 for n>1. - _Bruno Berselli_, Jul 26 2013 %t A227546 Table[n! + n^2 + 1, {n, 0, 30}] %o A227546 (Magma) [Factorial(n)+n^2+1: n in [0..25]]; %o A227546 (Maxima) /* By the recurrence: */ a[0]:2$ a[1]:3$ a[n]:=(n^4-5*n^3+8*n^2-5*n-1)*a[n-1]/(n^3-6*n^2+11*n -7)-(n-1)*(n^3-3*n^2+2*n-1)*a[n-2]/(n^3-6*n^2+11*n-7)$ makelist(a[n], n, 0, 21); /* _Bruno Berselli_, Jul 26 2013 */ %Y A227546 Cf. A000142, A005095, A038507, A213169, A033312, A005096, A004664. %Y A227546 Cf. A119662 (primes of the form k! + k^2 + 1). %K A227546 nonn,easy %O A227546 0,1 %A A227546 _Vincenzo Librandi_, Jul 26 2013