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!)
A248341 10^n - 7^n. 0
0, 3, 51, 657, 7599, 83193, 882351, 9176457, 94235199, 959646393, 9717524751, 98022673257, 986158712799, 9903110989593, 99321776927151, 995252438490057, 9966767069430399, 99767369486012793, 998371586402089551, 9988601104814626857 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 3*x/((1-7*x)*(1-10*x)).
a(n) = 17*a(n-1) - 70*a(n-2).
a(n) = A011557(n) - A000420(n).
a(n+1) = 3*A016181(n).
MATHEMATICA
Table[10^n - 7^n, {n, 0, 25}] (* or *) CoefficientList[Series[3 x/((1 - 7 x) (1 - 10 x)), {x, 0, 30}], x]
LinearRecurrence[{17, -70}, {0, 3}, 20] (* Harvey P. Dale, Dec 18 2020 *)
PROG
(Magma) [10^n-7^n: n in [0..30]];
CROSSREFS
Cf. sequences of the form k^n-7^n: A016177 (k=8), A191467 (k=9), this sequence(k=10), A139745 (k=11).
Cf. A016181.
Sequence in context: A317455 A045489 A232453 * A145242 A182512 A075869
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 05 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 February 26 02:39 EST 2024. Contains 370335 sequences. (Running on oeis4.)