More Loop Exercise - 52
Problem Set 4.2.1: Loop - Number/Digit (Class)
Number Theory
Print Divisors/Factors of a Number.
Digit
Count the number of Digits in an integer number.
G.C.D/L.C.M
Calculate the GCD of two numbers.
Calculate the GCD of two numbers using the Euclid Algorithm.
Problem Set 4.2.2: Loop - Number/Digit (Class) [52]
Number Theory
Print the Divisors (নিঃশেষে বিভাজ্য, গুণনীয়ক) (Factors, উৎপাদক) of an Integer Number.
Print the Proper Divisors/Factors of an Integer Number.
Count the Total Number of Factors/Divisors of an Integer Number.
Determine whether an Integer Number is prime or not.
1 to n, 2 to n-1, 2 to n/2, 2 to sqrt(n)
Sieve of Eratosthenes
Segmented Sieve
Print the prime numbers up to N.
Print the Even Divisors/Factors of an Integer Number.
Print the Odd Divisors/Factors of an Integer Number.
Determine the Summation of Divisors/Factors of an Integer Number.
Determine the Summation of Proper Divisors/Factors of an Integer Number.
Test whether an Integer Number is a Perfect Number or not.
Classify an Integer Number as a Perfect, Abundant, or Defective Number.
Test whether an Integer Number is an Amicable Number or not. [sopd(a)==b&&sopd(b)==a]
Calculate nCr
Calculate nPr
Digit
Print the digit of an integer number in reverse order.
Count the number of Digits in an integer number.
Find the Summation of Digits of a number.
Find the Product of Digits of a number.
Find the Summation of Digits of a number until the summation forms one digit.
Reverse the digits of an integer number.
Test whether an integer number is Palindrome or not.
Print a Number in words.
Test whether an Integer Number is an Armstrong Number or not. [153=1^3+5^3+3^3, 1634=1^4+6^4+3^4+4^4]
Test whether an Integer Number is a Strong Number or not. [145=1!+4!+5!=1+24+120]
Number System Conversion
Decimal to Binary
Decimal to Octal
Decimal to Hexadecimal
Decimal to N Base Number System
Binary to Decimal
Binary to Octal
Binary to Hexadecimal
Octal to Binary
Octal to Decimal
Octal to Hexadecimal
Hexadecimal to Binary
Hexadecimal to Octal
Hexadecimal to Decimal
N Base Number System to Binary
N Base Number System to Octal
N Base Number System to Decimal
N Base Number System to Hexadecimal
N Base Number System to M Base Number System
G.C.D/L.C.M
Find the GCD of two numbers without using the Euclid Algorithm.
Find the LCM of two numbers.
Calculate the GCD of two numbers using the Euclid Algorithm.
Test whether two numbers are Co-Prime or not. [if GCD (a, b) == 1, then a and b are Co-Prime]
Euler Totient Function(phi). (# of Co-Prime from 1 to N for the input N)
Find the GCD of N numbers.
Find the LCM of N numbers.
Other
Calculate a^b using loop
Calculate a^b % c using loop
Calculate sqrt(a) using loop
Last updated