login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152258 a(n) = ((3^n - 1)*(3^n + 1))^2/2^(7 - (n mod 2)). 1
0, 1, 50, 8281, 336200, 54479161, 2206472450, 357449732641, 14476719552800, 2345228664408721, 94981761344401250, 15387045345638267401, 623175336533653521800, 100954404519087336988681, 4088653383025896747098450, 662361848050246745812972561 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = ((3^n - 1)*(3^n + 1))^2 / 2^(7 - (n mod 2)).
a(n) = 6643*a(n-2) - 538083*a(n-4) + 531441*a(n-6). - R. J. Mathar, Dec 04 2008
MATHEMATICA
Table[(9^n-1)^2/2^(7-Mod[n, 2]), {n, 0, 30}]
PROG
(Magma) 2^((n mod 2) -7)*(9^n-1)^2: n in [0..40]]; // G. C. Greubel, May 22 2023
(SageMath) [(9^n-1)^2//2^(7-(n%2)) for n in range(41)] # G. C. Greubel, May 22 2023
CROSSREFS
Sequence in context: A301992 A229753 A276102 * A364511 A203097 A028465
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Dec 01 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 16:35 EDT 2024. Contains 371749 sequences. (Running on oeis4.)