# Math Problems

 DivisorsRead an integer variable and print all of its divisors (including 1 and the number itself). Math 4k/4k/7k Clock MathGiven a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c... Math 2k/3k/6k Fair DistributionMr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe... emoncse Math Very Easy 2k/2k/3k Fibonacci NumbersGiven an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh... Math 3k/3k/5k GCD Plus LCMIn this problem you will be given two integers a, b. You have to answer if GCD(a,b)+LCM(a,b)=a+b is ...  381/557/2k Byang's AdditionsByang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B... Math 1k/1k/3k SquaredGiven the length of a side of a square, calculate and print its area. Math 5k/6k/8k Making FriendsByang is going to join a new school. His new class has N students. Each of the students are identifi... Math 2k/2k/3k Thought GameSadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like... emoncse Math 2k/2k/3k Pie Are SquaredGiven the radius of a circle, calculate and print its area. The area of a circle can be computed usi...  4k/4k/8k Roll the DiceYou have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t...  Math Very Easy 301/310/399 Largest PrimeA positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...  329/385/1k Big FactorialsGiven an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are... Math 2k/2k/5k Tricky RatioGiven the radius (r) of a circle you have to calculate the ratio between the circumference (C) of th... Math 226/235/341 Math and WatermelonsYour friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would... Math 3k/3k/4k Black or WhiteImagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell... Math Very Easy 161/254/926 Fibonacci BetweenGiven two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt... Math Moderate 127/173/386 The TitanThe Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t... emrul_mu  Very Easy 564/567/659 Missing NumberGiven the sum of four numbers and three of those numbers, find the missing number. All four numbers ... Math 5k/5k/7k Arko and Special PermutationsArko is very fond of permutations. He can easily calculate the number of n length permutations. (In ... bisnu_sarkar  Very Easy 36/46/92 Proper Leap YearsByang's friend was asked to author a programming problem where the challenge was to identify if the ... Math 2k/2k/5k Leap YearsIn the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F... Math 2k/3k/10k Arithmetic Sequence (Easy)Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...  678/688/875 Mixed FractionsGiven an improper fraction (as the numerator \$N\$ and the denominator \$D\$), determine and print it in... Math 3k/3k/5k Running Average AgainGiven N numbers, read each one, calculate the running average and print it. For example, given the t... Math 2k/2k/5k 