Skip to content

Solutions to Exercises from "Programirane = ++Algoritmi", P. Nakov. P. Dobrikov

Notifications You must be signed in to change notification settings

Ziezi/ProgramiraneEPPAlgoritmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository Content

Chapter 1

  1. Sets.
  2. Numbers.
  3. Integer division and remainder. Number of digits in a, a from Ν.
  4. Sum and Product notations.
  5. Exponent, Logarithm and roots.
  6. Factorial. Recurrent functions.
  7. Fill matrix diagonal.
  8. Fill matrix in spiral.
  9. Number of digits of product and natural number.
  10. Prime numbers and function phi(x).
  11. Write a program that checks the Goldbach's conjecture hypothesis.
  12. Write a program the checks the Oppermann's conjecture hypothesis.
  13. Write a program using Wilson Theorem as Primality Test.
  14. Write a program using previous already found primes for Primality Test.
  15. Implement the Sieve of Eratosthenes, reimplement it optimized and compare with initial.
  16. Primes in interval [a, b].
  17. Count trailing zeroes by factoring to 2 and 5.
  18. Find the first n Mersenne numbers, using Lucas–Lehmer primality test.
  19. Factorization, Perfect Numbers and sum of reciprocal factors.
  20. Binomial Coefficients and Pascal's Triangle.



MIT License

Copyright (c) 2017 Chris B. Kirov

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Solutions to Exercises from "Programirane = ++Algoritmi", P. Nakov. P. Dobrikov

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages