1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
igor_vitrenko [27]
3 years ago
8

Find two positive nontrivial solutions of x^2-Ny^2=1 when N is 15, 7, or 99

Mathematics
2 answers:
Pavel [41]3 years ago
8 0

Hello,


if n=15: (4,1),(31,8),(244,63)


if n=7: (8,3),(127,48),(2024,765)


if n=99: (10,1),(199,20),(3970,399)


(Pell 's equation)


Download xls
KengaRu [80]3 years ago
3 0

The solutions to the Pell equation

... x^2 -N·y^2 = ±1

are (x, y) = (p, q) where p/q are alternate convergents‡ of the continued fraction of √N.


The continued fractions for √15 and √99 can be written as

... √15 = 3 + 1/(1 + 1/(6 + 1/(1 + 1/(6 + 1/...))))

or, more compactly, as {3, {1, 6}};

and

... √99 = 9 + 1/(1 + 1/(18 + 1/(1 + 1/(18 + 1/...))))

or, more compactly, as {9, {1, 18}}.


The compact form of the continued fraction for √7 is {2, {1, 1, 1, 4}}.


In all cases, the continued fraction terms of a square root repeat after some finite-length sequence. In the compact form, the repeating sequence is shown in curly brackets. This permits the convergents to be defined recursively.


Successive convergents of the square root are p[k]/q[k], where

... p[k] = a[k]·p[k-1] +p[k-2] . . . . where p[-1]=0, p[0]=1

... q[k] = a[k]·q[k-1] +q[k-2] . . . . where q[-1]=1, q[0]=0

and the a[k] are written in the compact form as {a[1], {a[2], a[3], ...}}


For the given numbers N, the (x, y) values that are solutions to the given equation can be defined recursively quite nicely. The same recursive equation (written here as pq[ ]) is used for both p and q (as above), but with different initial conditions for p than for q.


For N=15, we can write

... pq[k] = 8·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {4, 1} . . . {q[-1], q[0]} = {-1, 0}

so {x, y} = {4, 1}, {31, 8}, {244, 63}, {1921, 496}, ...


For N=99, we can write

... pq[k] = 20·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {10, 1} . . . {q[-1], q[0]} = {-1, 0}

so {x, y} = {10, 1}, {199, 20}, {3970, 399}, {79201, 7960}, ...


For N=7, we can write

... pq[k] = 16·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {8, 1} . . . {q[-1], q[0]} = {-3, 0}

so {x, y} = {8, 3}, {127, 48}, {2024, 765}, {32257, 12192}, ...


_____

‡ Convergents alternate between being larger than the square root and smaller than the square root. However, when there are more than 2 values in the repeating sequence of the continued fraction, the convergents that result in a solution to the Pell equation may be farther apart than every other convergent. For N=7, every 4th convergent gives a solution.

You might be interested in
How many whole numbers between 99 and 999 contain the digit '1'?
Sedbober [7]

Answer:

162

Step-by-step explanation:

The number with "1" digit starts with 101 then 110 and so on.

6 0
3 years ago
Read 2 more answers
What percent of 5.00 is 0.35?
oksian1 [2.3K]
Let's take the percentage as x

(x / 100) * 5 = 0.35
x / 100 = 0.07
x = 7

therefore the percentage is 7%
8 0
4 years ago
2 x 9 = ?<br> and also dont you just loooooove my profile picture
Verizon [17]

Answer:

18

Step-by-step explanation:

18

2 * 9 = 18

9 + 9 = 18

5 0
3 years ago
Read 2 more answers
Determine the larger of two consecutive integers whose sum add to 85
Vesnalui [34]
N+(n+1) = 85. 2n+1=85, 2n=84. n=42. So the consecutive integers are 42 and 43, and the larger one is 43.
8 0
3 years ago
9. A wildlife biologist captured and released 26 male whitetail deer from two different forests
weqwewe [10]

Answer:

use dat brain

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • How to find domain and range on functions
    8·1 answer
  • Ten slips of paper labeled from 1 to 5 are placed in a hat. The first slip of paper is not replaced before selecting the second
    6·1 answer
  • 5. Consider the graph below.<br><br><br><br> Can some Somebody help me?? I don’t get it
    10·2 answers
  • Henry is an agent for movie stars. He earns 10% of
    10·2 answers
  • A train ticket in a certain city is $2.00. People who use the train also have the option of purchasing a frequent rider pass for
    11·1 answer
  • how can you use the metric prefixes milli, centi, and kilo to help you decide if a metric conversion is reasonable
    9·1 answer
  • PLS ANSWER RN
    5·1 answer
  • This is algebra, if you can help that is appreciated.
    15·2 answers
  • I have more im about to post it after this :D plz help and explain
    9·2 answers
  • a large painting has a length of 18 inches and width of 12 inches. If each dimension is reduced by x inches to make the ratio of
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!