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”).

A120799
3^(n^2)-2^n.
1
0, 1, 77, 19675, 43046705, 847288609411, 150094635296999057, 239299329230617529589955, 3433683820292512484657849089025, 443426488243037769948249630619149892291
OFFSET
0,3
LINKS
FORMULA
a(n) = A120798(n)-2*A000079(n). - R. J. Mathar, May 15 2007
MATHEMATICA
Table[3^(n^2) - 2^n, {n, 0, 10}] (* Vincenzo Librandi, Feb 27 2013 *)
PROG
(Magma) [3^(n^2)-2^n: n in [0..10]]; // Vincenzo Librandi, Feb 27 2013
(PARI) a(n)=3^(n^2)-2^n \\ Charles R Greathouse IV, Feb 28 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 18 2006
STATUS
approved