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!)
A091775 1 + 4^n + 9^n + 16^n. 3
30, 354, 4890, 72354, 1108650, 17312754, 273234810, 4338079554, 69107159370, 1102999460754, 17623571298330, 281757423024354, 4506141560307690, 72080471098818354, 1153127396812683450, 18448597098193370754, 295164582378232361610, 4722516577573661689554 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
For n > 0, a(n) = 5^(2*n+1)/(2*n+1)*sum(k = 0, 2*n + 1, (1/5)^k*C(2*n + 1, k)*B(k)) where B(k) is the k-th Bernoulli number.
G.f.: x*(16/(1 - 16*x) + 9/(1 - 9*x) + 4/(1 - 4*x) + 1/(1 - x)). - Harvey P. Dale, May 04 2011
a(1) = 30, a(2) = 354, a(3) = 4890, a(4) = 72354, a(n) = 30*a(n-1) - 273*a(n-2) + 820*a(n-3) - 576*a(n-4). - Harvey P. Dale, May 04 2011
MAPLE
A091775:=n->1+4^n+9^n+16^n: seq(A091775(n), n=1..20); # Wesley Ivan Hurt, Nov 26 2014
MATHEMATICA
Table[1 + 4^n + 9^n + 16^n, {n, 20}] (* or *) LinearRecurrence[ {30, -273, 820, -576}, {30, 354, 4890, 72354}, 20] (* Harvey P. Dale, May 04 2011 *)
PROG
(Magma) [1+4^n+9^n+16^n : n in [1..20]]; // Wesley Ivan Hurt, Nov 26 2014
CROSSREFS
Sequence in context: A125418 A339197 A107916 * A222086 A008656 A179717
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Mar 06 2004
EXTENSIONS
Corrected and extended by Harvey P. Dale, May 04 2011
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 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)