DAY 1
Basic Arithmetic & Logic
1. Find the sum of two numbers.
2. Find the difference between two numbers.
3. Multiply two numbers without using the * operator.
4. Divide two numbers and show the quotient and remainder.
5. Calculate the square and cube of a number.
6. Check whether a number is even or odd.
7. Find the maximum and minimum of three numbers.
8. Convert Celsius to Fahrenheit.
9. Convert a given number of seconds to hours, minutes, and seconds.
10. Find the sum of first n natural numbers.
Number Theory & Factors
11. Check whether a number is prime.
12. Find all prime numbers within a given range.
13. Find the factorial of a number.
14. Find the GCD (HCF) of two numbers.
15. Find the LCM of two numbers.
16. Check whether a number is an Armstrong number.
17. Find the sum of the digits of a number.
18. Reverse the digits of a number.
19. Check whether a number is a palindrome.
20. Count the number of digits in a given number.
Sequences & Patterns
21. Print the Fibonacci sequence up to n terms.
22. Find the nth term of the Fibonacci sequence.
23. Generate the multiplication table for a given number.
24. Print a right-angled triangle pattern with numbers.
25. Print an inverted triangle pattern with numbers.
26. Generate the first n odd numbers.
27. Generate the first n even numbers.
28. Find the sum of first n odd numbers.
29. Find the sum of first n even numbers.
30. Print the Pascal’s triangle up to n rows.
Mathematical Computations
31. Calculate the power of a number without using **.
32. Calculate the square root of a number without using [Link]().
33. Find the sum of all numbers in a given list.
34. Find the average of numbers in a list.
35. Find the second largest number in a list.
36. Sort a list without using built-in functions.
37. Swap two numbers without using a third variable.
38. Find the area of a circle.
39. Find the perimeter and area of a rectangle.
40. Calculate compound interest.
Logic-based Numerical Problems
41. Find the sum of all multiples of 3 or 5 below 1000.
42. Find the sum of all prime numbers below a given number.
43. Check whether a number is a perfect number.
44. Check whether a number is a strong number.
45. Find the decimal to binary conversion without using bin().
46. Find the binary to decimal conversion without using int(..., 2).
47. Find the sum of elements at even indexes in a list.
48. Find the sum of elements at odd indexes in a list.
49. Generate all Pythagorean triplets with sides less than n.
50. Find the digital root of a number (repeated sum of digits until single digit).