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!)
A190540 7^n - 2^n. 3
0, 5, 45, 335, 2385, 16775, 117585, 823415, 5764545, 40353095, 282474225, 1977324695, 13841283105, 96889002215, 678223056465, 4747561477175, 33232930504065, 232630513856135, 1628413597648305, 11398895184848855 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Length-n words from letters {1,2,...,7} with at least one letter >2. [Joerg Arndt, Jun 02 2011]
LINKS
FORMULA
a(n) = 9*a(n-1) - 14*a(n-2).
G.f.: 5*x/((1-2*x)*(1-7*x)). - Vincenzo Librandi, Oct 04 2014
a(n) = 5*A016130(n-1). - R. J. Mathar, Mar 10 2022
MATHEMATICA
CoefficientList[Series[5 x/((1 - 2 x) (1 - 7 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 04 2014 *)
PROG
(Magma) [7^n -2^n: n in [0..30]];
(PARI) a(n)=7^n-1<<n \\ Charles R Greathouse IV, Jun 08 2011
CROSSREFS
Sequence in context: A081070 A247494 A043025 * A268219 A272494 A185009
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jun 02 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 May 10 01:03 EDT 2024. Contains 372354 sequences. (Running on oeis4.)