OFFSET
1,1
COMMENTS
Obtained with the fundamental unit 64202725495 + 3652365444*sqrt(309) of Q(sqrt(309)).
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..50
Index entries for linear recurrences with constant coefficients, signature (128405450990,-1).
FORMULA
a(n+2) = 128405450990*a(n+1) - a(n).
G.f.: 1818362*x*(1-x)/(1 - 128405450990*x + x^2). - Colin Barker, Oct 21 2014
EXAMPLE
a(1)=1818362 because the first relation is : 1818362^2=309*103443^2+103.
MAPLE
seq(coeff(series(1818362*x*(1-x)/(1-128405450990*x+x^2), x, n+1), x, n), n = 1..10); # G. C. Greubel, Jan 10 2020
MATHEMATICA
LinearRecurrence[{128405450990, -1}, {1818362, 233487592671260018}, 10] (* G. C. Greubel, Jan 10 2020 *)
PROG
(PARI) Vec(1818362*x*(1-x)/(1-128405450990*x+x^2) + O(x^20)) \\ Colin Barker, Oct 21 2014
(Magma) I:=[1818362, 233487592671260018]; [n le 2 select I[n] else 128405450990*Self(n-1) - Self(n-2): n in [1..10]]; // G. C. Greubel, Jan 10 2020
(Sage)
def A147525_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1818362*x*(1-x)/(1-128405450990*x+x^2) ).list()
a=A147525_list(10); a[1:] # G. C. Greubel, Jan 10 2020
(GAP) a:=[1818362, 233487592671260018];; for n in [3..10] do a[n]:=128405450990*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Jan 10 2020
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Nov 06 2008
EXTENSIONS
Editing and a(6) from Colin Barker, Oct 21 2014
STATUS
approved