Elementary Number Theory with Programming - Bookswagon UAE
close menu
Bookswagon
search
My Account
Home > Mathematics > Number theory > Elementary Number Theory with Programming
Elementary Number Theory with Programming

Elementary Number Theory with Programming


     0     
5
4
3
2
1



Available


X
About the Book

A highly successful presentation of the fundamental concepts of number theory and computer programming

Bridging an existing gap between mathematics and programming, Elementary Number Theory with Programming provides a unique introduction to elementary number theory with fundamental coverage of computer programming. Written by highly-qualified experts in the fields of computer science and mathematics, the book features accessible coverage for readers with various levels of experience and explores number theory in the context of programming without relying on advanced prerequisite knowledge and concepts in either area.

Elementary Number Theory with Programming features comprehensive coverage of the methodology and applications of the most well-known theorems, problems, and concepts in number theory. Using standard mathematical applications within the programming field, the book presents modular arithmetic and prime decomposition, which are the basis of the public-private key system of cryptography. In addition, the book includes:

  • Numerous examples, exercises, and research challenges in each chapter to encourage readers to work through the discussed concepts and ideas
  • Select solutions to the chapter exercises in an appendix
  • Plentiful sample computer programs to aid comprehension of the presented material for readers who have either never done any programming or need to improve their existing skill set
  • A related website with links to select exercises
  • An Instructor’s Solutions Manual available on a companion website

Elementary Number Theory with Programming is a useful textbook for undergraduate and graduate-level students majoring in mathematics or computer science, as well as an excellent supplement for teachers and students who would like to better understand and appreciate number theory and computer programming. The book is also an ideal reference for computer scientists, programmers, and researchers interested in the mathematical applications of programming.



Table of Contents:

Preface xi

Words xiii

Notation in Mathematical Writing and in Programming xv

1 Special Numbers: Triangular, Oblong, Perfect, Deficient, and Abundant 1
The programs include one for factoring numbers and one to test a conjecture up to a fixed limit.

Triangular Numbers 1

Oblong Numbers and Squares 3

Deficient, Abundant, and Perfect Numbers 4

Exercises 7

2 Fibonacci Sequence, Primes, and the Pell Equation 13
The programs include examples that count steps to compare two different approaches.

Prime Numbers and Proof by Contradiction 13

Proof by Construction 17

Sums of Two Squares 18

Building a Proof on Prior Assertions 18

Sigma Notation 19

Some Sums 19

Finding Arithmetic Functions 20

Fibonacci Numbers 22

An Infinite Product 26

The Pell Equation 26

Goldbach’s Conjecture 30

Exercises 31

3 Pascal’s Triangle 44
The programs include examples that generate factorial using iteration and using recursion and thus demonstrate and compare important techniques in programming.

Factorials 44

The Combinatorial Numbers n Choose k 46

Pascal’s Triangle 48

Binomial Coefficients 50

Exercises 50

4 Divisors and Prime Decomposition 56
The programs include one that uses the algorithm to produce the GCD of a pair of numbers and a program to produce the prime decomposition of a number.

Divisors 56

Greatest Common Divisor 58

Diophantine Equations 65

Least Common Multiple 67

Prime Decomposition 68

Semiprime Numbers 70

When is a Number an mth Power? 71

Twin Primes 73

Fermat Primes 73

Odd Primes Are Differences of Squares 74

When is n a Linear Combination of a and b? 75

Prime Decomposition of n! 76

No Nonconstant Polynomial with Integer Coefficients Assumes Only Prime Values 77

Exercises 78

5 Modular Arithmetic 85
One program checks if a mod equation is true, and another determines the solvability of a mod equation and then solves an equation that is solvable by a brute-force approach.

Congruence Classes Mod k 85

Laws of Modular Arithmetic 87

Modular Equations 90

Fermat’s Little Theorem 91

Fermat’s Little Theorem 92

Multiplicative Inverses 92

Wilson’s Theorem 93

Wilson’s Theorem 95

Wilson’s Theorem (2nd Version) 95

Squares and Quadratic Residues 96

Lagrange’s Theorem 98

Lagrange’s Theorem 99

Reduced Pythagorean Triples 100

Chinese Remainder Theorem 102

Chinese Remainder Theorem 103

Exercises 104

6 Number Theoretic Functions 111
The programs include two distinct approaches to calculating the tau function.

The Tau Function 111

The Sigma Function 114

Multiplicative Functions 115

Perfect Numbers Revisited 115

Mersenne Primes 116

F(n) = Σf(d) Where d is a Divisor of n 117

The Möbius Function 119

The Riemann Zeta Function 121

Exercises 124

7 The Euler Phi Function 134
The programs demonstrate two approaches to calculating the phi function.

The Phi Function 134

Euler’s Generalization of Fermat’s Little Theorem 138

Phi of a Product of m and n When gcd(m,n) > 1 139

The Order of a (mod n) 139

Primitive Roots 140

The Index of m (mod p) Relative to a 141

To Be or Not to Be a Quadratic Residue 145

The Legendre Symbol 146

Quadratic Reciprocity 147

Law of Quadratic Reciprocity 148

When Does x2 = a (mod n) Have a Solution? 148

Exercises 150

8 Sums and Partitions 158
The exposition explains the central role of binary representation in computing and the programs produce the binary partition using a built-in function.

An nth Power is the Sum of Two Squares 158

Solutions to the Diophantine Equation a2 + b2 + c2 = d2 159

Row Sums of a Triangular Array of Consecutive Odd Numbers 160

Partitions 160

When is a Number the Sum of Two Squares? 167

Sums of Four or Fewer Squares 170

Exercises 175

9 Cryptography 182
The programs include different ways to generate counts of letters and also Fermat factoring.

Introduction and History 182

Public-Key Cryptography 187

Factoring Large Numbers 188

The Knapsack Problem 191

Superincreasing Sequences 192

Exercises 194

Answers or Hints to Selected Exercises 203

Index 207



About the Author :

Marty Lewinter, PhD, is Professor Emeritus of Mathematics at the State University of New York, Purchase College. The author of three books and more than 80 articles, he is Executive Director of Mathematics at American Digital University Services.

Jeanine Meyer, PhD, is Professor of Mathematics/Computer Science at the State University of New York, Purchase College. She is the author of six books as well as numerous journal articles.



Review :
"It consists of nine chapters, all including the corresponding programs along with their mathematical content. The mathematical structure is also interesting and well-formed starting from special numbers, primes and Pell equation, to Pascal's triangle, prime decomposition and modular arithmetic and finishing with number-theoretic functions, the Euler Phi-function, sums and partitions and the classical application to cryptography. It is also remarkable that the main scope of the programs is defined before their use from the reader, providing him the best orientation for his study." (Zentralblatt MATH 2016)


Best Sellers


Product Details
  • ISBN-13: 9781119062769
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: John Wiley & Sons Inc
  • Height: 241 mm
  • No of Pages: 240
  • Returnable: N
  • Weight: 553 gr
  • ISBN-10: 1119062764
  • Publisher Date: 30 Jun 2015
  • Binding: Hardback
  • Language: English
  • Returnable: N
  • Spine Width: 19 mm
  • Width: 160 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Elementary Number Theory with Programming
John Wiley & Sons Inc -
Elementary Number Theory with Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Elementary Number Theory with Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Your IP: 216.73.217.2 IN