Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #15 Sep 08 2022 08:45:26
%S 0,1,77,19675,43046705,847288609411,150094635296999057,
%T 239299329230617529589955,3433683820292512484657849089025,
%U 443426488243037769948249630619149892291
%N 3^(n^2)-2^n.
%H Vincenzo Librandi, <a href="/A120799/b120799.txt">Table of n, a(n) for n = 0..40</a>
%F a(n) = A120798(n)-2*A000079(n). - _R. J. Mathar_, May 15 2007
%t Table[3^(n^2) - 2^n, {n, 0, 10}] (* _Vincenzo Librandi_, Feb 27 2013 *)
%o (Magma) [3^(n^2)-2^n: n in [0..10]]; // _Vincenzo Librandi_, Feb 27 2013
%o (PARI) a(n)=3^(n^2)-2^n \\ _Charles R Greathouse IV_, Feb 28 2013
%Y Cf. A007689, A001047, A120798, A000079.
%K nonn,easy
%O 0,3
%A _Mohammad K. Azarian_, Aug 18 2006