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!)
A155661 a(n) = 10^n-7^n+1. 13
1, 4, 52, 658, 7600, 83194, 882352, 9176458, 94235200, 959646394, 9717524752, 98022673258, 986158712800, 9903110989594, 99321776927152, 995252438490058, 9966767069430400, 99767369486012794, 998371586402089552 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-10*x)-1/(1-7*x)+1/(1-x).
E.g.f.: e^(10*x)-e^(7*x)+e^x.
a(n) = 17*a(n-1)-70*a(n-2)+54 with a(0)=1, a(1)=4. - Vincenzo Librandi, Jul 21 2010
a(0)=1, a(1)=4, a(2)=52, a(n)=18*a(n-1)-87*a(n-2)+70*a(n-3). - Harvey P. Dale, May 05 2011]
MATHEMATICA
Table[10^n-7^n+1, {n, 0, 20}] (* or *) LinearRecurrence[{18, -87, 70}, {1, 4, 52}, 21] (* Harvey P. Dale, May 05 2011 *)
PROG
(PARI) a(n)=10^n-7^n+1 \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
Sequence in context: A247746 A221727 A144339 * A198281 A220933 A222321
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 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 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)