Redian新闻
>
【除了brute force还可以咋办?】x^2 – D×y^2 = 1 求解
avatar
【除了brute force还可以咋办?】x^2 – D×y^2 = 1 求解# WaterWorld - 未名水世界
C*r
1
Consider quadratic Diophantine equations of the form:
x^2 – D×y^2 = 1
For example, when D=13, the minimal solution in x is 649^2 – 13×180^2 = 1.
It can be assumed that there are no solutions in positive integers when D is
square.
By finding minimal solutions in x for D = {2, 3, 5, 6, 7}, we obtain the
following:
3^2 – 2×2^2 = 1
2^2 – 3×1^2 = 1
9^2 – 5×4^2 = 1
5^2 – 6×2^2 = 1
8^2 – 7×3^2 = 1
Hence, by considering minimal solutions in x for D < 8, the largest x is
obtained when D=5.
Find the value of D < 1001 in minimal solutions of x for which the largest
value of x is obtained.
avatar
C*r
2
When D=5, x=9
avatar
C*r
3
brute force 巨慢…… 坐等达人优化。
avatar
f*i
4
搜Pell equation
avatar
C*r
5

瞻仰下达人。
搜了。你是说不用brute force,直接看math world的那个表吗?还是说eqn41有什么道
道?

【在 f*******i 的大作中提到】
: 搜Pell equation
avatar
C*r
6
avatar
m*x
9
你是程序员? 太牛了!

【在 C**********r 的大作中提到】
: brute force 巨慢…… 坐等达人优化。
avatar
y*y
10
you are math genius too?

1.
is

【在 C**********r 的大作中提到】
: Consider quadratic Diophantine equations of the form:
: x^2 – D×y^2 = 1
: For example, when D=13, the minimal solution in x is 649^2 – 13×180^2 = 1.
: It can be assumed that there are no solutions in positive integers when D is
: square.
: By finding minimal solutions in x for D = {2, 3, 5, 6, 7}, we obtain the
: following:
: 3^2 – 2×2^2 = 1
: 2^2 – 3×1^2 = 1
: 9^2 – 5×4^2 = 1

avatar
C*r
11
apparently not!

【在 y*****y 的大作中提到】
: you are math genius too?
:
: 1.
: is

avatar
t*2
12
不是吧,昨天晚上vix给她归为文科生了。等下vix就来解这个题了。

【在 y*****y 的大作中提到】
: you are math genius too?
:
: 1.
: is

avatar
y*y
13
vix is a psychopath.

【在 t**********2 的大作中提到】
: 不是吧,昨天晚上vix给她归为文科生了。等下vix就来解这个题了。
avatar
m*x
14
beaver自己也承认是文科生的

【在 t**********2 的大作中提到】
: 不是吧,昨天晚上vix给她归为文科生了。等下vix就来解这个题了。
avatar
y*y
15
well, then focus on SW, Ta party and the war against poison.....

【在 C**********r 的大作中提到】
: apparently not!
avatar
v*x
16
这话题转的,太有水平了

【在 y*****y 的大作中提到】
: well, then focus on SW, Ta party and the war against poison.....
avatar
C*r
17
kk...
你就允许我怀下旧好不好。话说北欧的回帖很有质量,说明我这个坑没白挖。

【在 y*****y 的大作中提到】
: well, then focus on SW, Ta party and the war against poison.....
avatar
y*y
18
Here is how I got the help doing math homework.

【在 C**********r 的大作中提到】
: kk...
: 你就允许我怀下旧好不好。话说北欧的回帖很有质量,说明我这个坑没白挖。

avatar
C*r
19
lol.
ur 5c kills my fun-seeking experience.

【在 y*****y 的大作中提到】
: Here is how I got the help doing math homework.
avatar
z*i
20
利害的是4楼,呵呵,我现在还没弄明白这个continued fraction怎么回事。

【在 C**********r 的大作中提到】
: lol.
: ur 5c kills my fun-seeking experience.

avatar
C*r
21
continued fraction 很好玩。比如可以用来估算e。e = [2; 1,2,1, 1,4,1, 1,6,1 ,
... , 1,2k,1, ...].

【在 z*******i 的大作中提到】
: 利害的是4楼,呵呵,我现在还没弄明白这个continued fraction怎么回事。
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。