# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a152258 Showing 1-1 of 1 %I A152258 #10 May 22 2023 20:32:29 %S A152258 0,1,50,8281,336200,54479161,2206472450,357449732641,14476719552800, %T A152258 2345228664408721,94981761344401250,15387045345638267401, %U A152258 623175336533653521800,100954404519087336988681,4088653383025896747098450,662361848050246745812972561 %N A152258 a(n) = ((3^n - 1)*(3^n + 1))^2/2^(7 - (n mod 2)). %H A152258 G. C. Greubel, Table of n, a(n) for n = 0..500 %H A152258 Index entries for linear recurrences with constant coefficients, signature (0,6643,0,-538083,0,531441). %F A152258 a(n) = ((3^n - 1)*(3^n + 1))^2 / 2^(7 - (n mod 2)). %F A152258 a(n) = 6643*a(n-2) - 538083*a(n-4) + 531441*a(n-6). - _R. J. Mathar_, Dec 04 2008 %t A152258 Table[(9^n-1)^2/2^(7-Mod[n,2]), {n,0,30}] %o A152258 (Magma) 2^((n mod 2) -7)*(9^n-1)^2: n in [0..40]]; // _G. C. Greubel_, May 22 2023 %o A152258 (SageMath) [(9^n-1)^2//2^(7-(n%2)) for n in range(41)] # _G. C. Greubel_, May 22 2023 %Y A152258 Cf. A002452, A003462. %K A152258 nonn %O A152258 0,3 %A A152258 _Roger L. Bagula_, Dec 01 2008 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE