|
|
A114046
|
|
Numbers x such that x^2 - 92*y^2 = 1 for some y.
|
|
1
|
|
|
1, 1151, 2649601, 6099380351, 14040770918401, 32321848554778751, 74404881332329766401, 171280004505174567476351, 394286495966030522000793601, 907647342433797756471259393151, 2089403787996106469366317122240001, 4809806612319694658683505544137089151
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Quote from the link prompting this sequence: "A person who can, within a year, solve x^2 - 92y^2 = 1 is a mathematician." Brahmagupta [598-668] This sequence is computed with g(1e9,92) in the PARI program.
|
|
LINKS
|
|
|
FORMULA
|
a(0)=1, a(1)=1151 then a(n) = 2302*a(n-1) - a(n-2). - Benoit Cloitre, Feb 03 2006
|
|
EXAMPLE
|
1151^2 - 92 * 120^2 = 1, so 1151 is a term.
|
|
MATHEMATICA
|
LinearRecurrence[{2302, -1}, {1, 1151}, 12] (* Ray Chandler, Aug 11 2015 *)
|
|
PROG
|
(PARI) g(n, k) = for(y=0, n, x=k*y^2+1; if(issquare(x), print1(floor(sqrt(x))", ")))
(PARI) a0=1; a1=1151; for(n=2, 30, a2=2302*a1-a0; a0=a1; a1=a2; print1(a2, ", ")) \\ Benoit Cloitre, Feb 03 2006
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|