login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024128 a(n) = 11^n - n. 9
1, 10, 119, 1328, 14637, 161046, 1771555, 19487164, 214358873, 2357947682, 25937424591, 285311670600, 3138428376709, 34522712143918, 379749833583227, 4177248169415636, 45949729863572145, 505447028499293754 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Smallest prime of this form is a(18) = 5559917313492231463. - Bruno Berselli, Jun 17 2013

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..300

Index entries for linear recurrences with constant coefficients, signature (13,-23,11).

FORMULA

G.f.: (1-3*x+12*x^2)/((1-11*x) (1-x)^2). - Vincenzo Librandi, Jun 17 2013

a(n) = 13*a(n-1) - 23*a(n-2) + 11*a(n-3). - Vincenzo Librandi, Jun 17 2013

MATHEMATICA

Table[11^n - n, {n, 0, 20}] (* or *) CoefficientList[Series[(1 - 3 x + 12 x^2) / ((1 - 11 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 17 2013 *)

LinearRecurrence[{13, -23, 11}, {1, 10, 119}, 20] (* Harvey P. Dale, Aug 02 2017 *)

PROG

(MAGMA) [11^n-n: n in [0..20]]; // Vincenzo Librandi, Jul 01 2011

(PARI) a(n)=11^n-n \\ Charles R Greathouse IV, Jul 01 2011

(MAGMA) I:=[1, 10, 119]; [n le 3 select I[n] else 13*Self(n-1)-23*Self(n-2)+11*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Jun 17 2013

CROSSREFS

Cf. numbers of the form k^n-n: A000325 (k=2), A024024 (k=3), A024037 (k=4), A024050 (k=5), A024063 (k=6), A024076 (k=7), A024089 (k=8), A024102 (k=9), A024115 (k=10), this sequence (k=11), A024141 (k=12).

Cf. A199030 (first differences).

Sequence in context: A145510 A160601 A327653 * A289215 A223010 A030022

Adjacent sequences:  A024125 A024126 A024127 * A024129 A024130 A024131

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 16:34 EDT 2020. Contains 336202 sequences. (Running on oeis4.)