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!)
A155601 a(n) = 10^n - 2^n + 1^n. 26
1, 9, 97, 993, 9985, 99969, 999937, 9999873, 99999745, 999999489, 9999998977, 99999997953, 999999995905, 9999999991809, 99999999983617, 999999999967233, 9999999999934465, 99999999999868929, 999999999999737857, 9999999999999475713, 99999999999998951425 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-10*x)-1/(1-2*x)+1/(1-x).
E.g.f.: e^(10*x)-e^(2*x)+e^x.
a(n) = 12*a(n-1)-20*a(n-2)+9 with a(0)=1, a(1)=9. - Vincenzo Librandi, Jul 21 2010
a(n) = A060458(n)+1. - R. J. Mathar, Mar 10 2022
MATHEMATICA
Table[10^n-2^n+1, {n, 0, 20}] (* or *) LinearRecurrence[{13, -32, 20}, {1, 9, 97}, 20] (* Harvey P. Dale, Jan 13 2022 *)
PROG
(PARI) a(n)=10^n-2^n+1 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
Sequence in context: A236672 A155699 A230620 * A241771 A180675 A083077
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 25 2009
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 13:58 EDT 2024. Contains 371960 sequences. (Running on oeis4.)