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!)
A242328 a(n) = 5^n + 2. 4
3, 7, 27, 127, 627, 3127, 15627, 78127, 390627, 1953127, 9765627, 48828127, 244140627, 1220703127, 6103515627, 30517578127, 152587890627, 762939453127, 3814697265627, 19073486328127, 95367431640627, 476837158203127, 2384185791015627, 11920928955078127 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (3-11*x)/((1-x)*(1-5*x)).
a(n) = 6*a(n-1) - 5*a(n-2) for n > 1.
From Elmo R. Oliveira, Dec 04 2023: (Start)
a(n) = A000351(n) + 2.
a(n) = 5*a(n-1) - 8 with a(0) = 3.
E.g.f.: exp(5*x) + 2*exp(x). (End)
MATHEMATICA
Table[5^n + 2, {n, 0, 30}] (* or *) CoefficientList[Series[(3 - 11 x)/((1 - x) (1 - 5 x)), {x, 0, 30}], x]
LinearRecurrence[{6, -5}, {3, 7}, 30] (* Harvey P. Dale, Jun 30 2022 *)
PROG
(Magma) [5^n+2: n in [0..30]];
CROSSREFS
Sequence in context: A062795 A062363 A333362 * A136580 A292897 A267625
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 13 2014
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 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)