`
ihuashao
  • 浏览: 4704815 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

Fundamental Solution to Pell's Equation

阅读更多

From Wikipedia,

Pell's equation

is any Diophantine equation of the form

where n is a nonsquare integer and x and y are integers.

We can calculate the x,y for certain n with the following codes:

It returns:

Fundamental Solution to Pell's Equation X^2-1001Y^2=1 was:
-------------------------------------------------------
X=1060905
Y=33532

Fundamental Solution to Pell's Equation X^2-1002Y^2=1 was:
-------------------------------------------------------
X=206869247
Y=6535248

Fundamental Solution to Pell's Equation X^2-1003Y^2=1 was:
-------------------------------------------------------
X=9026
Y=285

Fundamental Solution to Pell's Equation X^2-1004Y^2=1 was:
-------------------------------------------------------
X=27009633024199
Y=852416459730

Fundamental Solution to Pell's Equation X^2-1005Y^2=1 was:
-------------------------------------------------------
X=2950149761
Y=93059568

Fundamental Solution to Pell's Equation X^2-1006Y^2=1 was:
-------------------------------------------------------
X=14125267563780214605455
Y=445346140255574921748

Fundamental Solution to Pell's Equation X^2-1007Y^2=1 was:
-------------------------------------------------------
X=476
Y=15

Fundamental Solution to Pell's Equation X^2-1008Y^2=1 was:
-------------------------------------------------------
X=127
Y=4

Fundamental Solution to Pell's Equation X^2-1009Y^2=1 was:
-------------------------------------------------------
X=583201
Y=18360

Fundamental Solution to Pell's Equation X^2-1010Y^2=1 was:
-------------------------------------------------------
X=3395619
Y=106846

Fundamental Solution to Pell's Equation X^2-1011Y^2=1 was:
-------------------------------------------------------
X=8426
Y=265

Fundamental Solution to Pell's Equation X^2-1012Y^2=1 was:
-------------------------------------------------------
X=3222617399
Y=101302110

Fundamental Solution to Pell's Equation X^2-1013Y^2=1 was:
-------------------------------------------------------
X=309159979019115849
Y=9713562669309460

Fundamental Solution to Pell's Equation X^2-1014Y^2=1 was:
-------------------------------------------------------
X=4656965
Y=146246

Fundamental Solution to Pell's Equation X^2-1015Y^2=1 was:
-------------------------------------------------------
X=352871
Y=11076

Fundamental Solution to Pell's Equation X^2-1016Y^2=1 was:
-------------------------------------------------------
X=255
Y=8

Fundamental Solution to Pell's Equation X^2-1017Y^2=1 was:
-------------------------------------------------------
X=2900932297217
Y=90965584992

Fundamental Solution to Pell's Equation X^2-1018Y^2=1 was:
-------------------------------------------------------
X=15155578752298003
Y=475005498176334

Fundamental Solution to Pell's Equation X^2-1019Y^2=1 was:
-------------------------------------------------------
X=6089923321730
Y=190776436539

Fundamental Solution to Pell's Equation X^2-1020Y^2=1 was:
-------------------------------------------------------
X=511
Y=16

Fundamental Solution to Pell's Equation X^2-1021Y^2=1 was:
-------------------------------------------------------
X=198723867690977573219668252231077415636351801801
Y=6219237759214762827187409503019432615976684540

Fundamental Solution to Pell's Equation X^2-1022Y^2=1 was:
-------------------------------------------------------
X=1023
Y=32

Fundamental Solution to Pell's Equation X^2-1023Y^2=1 was:
-------------------------------------------------------
X=32
Y=1

No Fundamental Solution was found to Pell's Equation X^2-1024Y^2=1.

分享到:
评论

相关推荐

    A biological solution to a fundamental distributed computing problem

    标题“A Biological Solution to a Fundamental Distributed Computing Problem”(生物学解决方案应对分布式计算的基本问题)直接指出了研究的核心内容:利用生物学原理来解决分布式计算领域的一个基本问题。...

    Introduction_to_Optimum_Design.pdf

    - **Sets and Points:** Discusses the mathematical concepts of sets and points, which are fundamental to understanding the structure of design spaces. - **Notation for Constraints:** Explains how ...

    Fundamental of Computer Graphics

    Fundamental of Computer Graphics, 扫描版,经典书籍

    Fundamental Limitations in Filtering and Control

    《Fundamental Limitations in Filtering and Control》一书由María M. Seron、Julio H. Braslavsky和Graham C. Goodwin共同撰写,首次由Springer-Verlag London Limited出版于1997年。本书系统地探讨了滤波与控制...

    fundamental of wireless communication

    《无线通信基础》是一本广泛应用于MIT(麻省理工学院)和加州大学伯克利分校的英文教程,深受教育界和专业人士的推崇。这本教程深入浅出地讲解了无线通信的基本原理和技术,是理解无线通信系统核心概念的宝贵资源。...

    Fundamental Kotlin (Kotlin基础编程 源码)

    **Kotlin基础编程源码详解** Kotlin是一种现代、面向...总的来说,`Fundamental-Kotlin`是一个学习和参考Kotlin基础知识的宝贵资源,通过分析和实践其中的源码,开发者可以快速掌握Kotlin编程并逐步提升到更高的水平。

    Fundamental Probability_A Computational Approach

    Fundamental Probability: A Computational Approach. Marc S. Paolella概率统计系列中的第I本。高清原版PDF,已经裁边,适合阅读。用pdf xchange pro恢复裁剪的页面:打开pdf后,依次点击:左下角“选项”->“视图...

    DataBase Fundamental.zip

    "DataBase Fundamental.zip"中的"DataBase Fundamental.pdf"文件很可能详细阐述了数据库的基础知识,包括但不限于数据存储、数据管理、关系模型、SQL语言等方面。 数据库是用于存储、管理和检索数据的系统,它结合...

    Fundamental elastic singular solutions for a layer perfectly bonded to a dissimilar substrate

    在给定的文件信息中,我们看到标题为“Fundamental elastic singular solutions for a layer perfectly bonded to a dissimilar substrate”,这个标题表明文章主要关注的是在一个不同材料的基体上完美粘合的涂层层...

    Fundamental Mechanics of Fluids

    《Fundamental Mechanics of Fluids》是美国大学广泛采用的一本流体力学经典教材,由G. Currie在多伦多大学撰写。这本书深入浅出地介绍了流体流动的基础理论,适用于机械工程、航空航天工程以及物理等相关专业的学生...

    fundamental of power electronics

    《fundamental of power electronics》被称为电力电子行业的圣经,值得一看。

    Fundamental Of Testing On ATE

    - **动态测试**:测量信噪比(Signal-to-Noise Ratio, SNR)、总谐波失真(Total Harmonic Distortion, THD)和信号噪声加失真比(Signal-to-Noise-and-Distortion Ratio, SINAD)等参数。 ### 八、调试工具与调试...

    Data Mining and Analysis: Fundamental Concepts and Algorithms 英文,教材

    制作中文的源文件英文,...Title: Data Mining and Analysis: Fundamental Concepts and Algorithms Author(s): Zaki M.J., Meira Jr W. Publisher: Cambridge University Press Year: 2014 ISBN: 978-0-521-76633-3

    Android Application fundamental中文版

    很推荐的一个文档,详细说明了Android的Application Fundamental架构,内容很详实,希望初学者有时间看一下,确实会对Android的架构有一个更加深入层次的了解。

    A Student's Guide to Waves

    Retaining the highly popular approach used in Fleisch's other Student's Guides, the book uses plain language to explain fundamental ideas in a simple and clear way. Exercises and fully-worked ...

    DataBase Fundamental.pdf

    数据库基础知识点: 一、数据库概念 数据库是一种与现实世界中某些方面相关的任何数据集合。它应当是持久的、逻辑上连贯的、内在有意义的数据集合。一个数据库所涵盖的现实世界范围被称为“论域”或者“数据库微...

    utl-speedy-submission-of-blocks-of-code-is-fundamental-to-speed-programming:快速提交代码块是加快编程速度的基础

    Speedy submission of blocks of code is fundamental to speed programming. I call it point and shoot programming. All of SAS can be put on a function key, mouse action or command macro. github ...

Global site tag (gtag.js) - Google Analytics