A236369 4^n! - 3^n! + 2^n! - 1.
2, 2, 10, 3430, 281192563951390, 1766847064778382532572997586311708103976882383055495099549785723721857950
Offset: 0
Keywords
Examples
For n=2, a(2)=4^2!-3^2!+2^2!-1=16-9+4-1=10.
Programs
-
Mathematica
4^#-3^#+2^#-1&/@(Range[0,5]!) (* Harvey P. Dale, Nov 04 2017 *)
-
PARI
a(n)=(k->4^k-3^k+2^k-1)(n!) \\ Charles R Greathouse IV, Jan 23 2014
Formula
a(n)=4^n!-3^n!+2^n!-1.
Extensions
a(4)-a(5) from Charles R Greathouse IV, Jan 23 2014
Comments