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!)
A147525 Numbers X such that there exists Y in N : X^2 = 309*Y^2 + 103. 2
1818362, 233487592671260018, 29981079637522561422843699458, 3849734052023190225799987829591837303402, 494326837141597862882377389715613614004616427568522, 63474260459627156072628000315760330760620752336069144700433378 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Obtained with the fundamental unit 64202725495 + 3652365444*sqrt(309) of Q(sqrt(309)).
LINKS
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
Sequence in context: A137819 A145537 A183735 * A205412 A249211 A244074
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Nov 06 2008
EXTENSIONS
Editing and a(6) from Colin Barker, Oct 21 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 August 14 18:55 EDT 2024. Contains 375166 sequences. (Running on oeis4.)