login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156795 81*n - 59. 1
22, 103, 184, 265, 346, 427, 508, 589, 670, 751, 832, 913, 994, 1075, 1156, 1237, 1318, 1399, 1480, 1561, 1642, 1723, 1804, 1885, 1966, 2047, 2128, 2209, 2290, 2371, 2452, 2533, 2614, 2695, 2776, 2857, 2938, 3019, 3100, 3181, 3262, 3343, 3424, 3505, 3586 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

Vincenzo Librandi, X^2-AY^2=1

Index entries for linear recurrences with constant coefficients, signature (2,-1).

FORMULA

a(n) = 2*a(n-1)-a(n-2).

G.f.: x*(22+59x)/(1-x)^2.

MATHEMATICA

LinearRecurrence[{2, -1}, {22, 103}, 50]

PROG

(MAGMA) I:=[22, 103]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];

(PARI) a(n)=81*n-59 \\ Charles R Greathouse IV, Dec 23 2011

CROSSREFS

Cf. A156796, A156797.

Sequence in context: A264852 A044273 A044654 * A095265 A066450 A231225

Adjacent sequences:  A156792 A156793 A156794 * A156796 A156797 A156798

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Feb 16 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 15 19:06 EST 2019. Contains 319171 sequences. (Running on oeis4.)