Write a program for calculating sum of first 20 multiplesor 11 and find its complexity.
Answers
Answer:
Multiples of 11 are whole numbers. They are the product of n natural numbers and 11. In other words, we can say that the multiples of 11 are the numbers that can be divided by 11 without leaving any remainder. We can create n number of multiples of 11 just by multiplying 11 with n natural numbers. Determining multiples of 11 is very easy.
In this mini-lesson, we will calculate the multiples of 11, and we will learn some interesting facts about these multiples.
First five multiples of 11: 11, 22, 33, 44, and 55
Prime factorization of 11: 11 = 1 × 11
What Are the Multiples of 11?
It is interesting to note that the first 9 multiples of 11 can be conveniently derived and are very easy to memorize. When 11 is multiplied by any single digit natural number, the product of that natural number is written twice. For example, 11 × n = nn; here n is a natural number. Like this, we have obtained the first nine multiples of 11.
11 × 1 = 11
11 × 2 = 22
11 × 3 = 33
11 × 4 = 44
11 × 5 = 55
11 × 6 = 66
11 × 7 = 77
11 × 8 = 88
11 × 9 = 99