Answer:
Check the explanation
Explanation:
The above question can be sovled in the below step by step way:
15 can be written as 16-1 = 24 -1
Therefore, 15 *13 = (24 -1)*13
= 13*24 - 13
Now, when we left shift a number we multiply it by 2k .Where k is no of times we left shifted it.
Therefore, 13*24 = shift 13 to left 4 times
15 * 13 = shift 13 to left 4 times and subtract 13 from it.
Windows Movie Maker, iMovie, Final Cut Pro (x), QuickTime?
i = 1
while i < 10001:
total = 0
x = 1
while x < i:
if i % x == 0:
total += x
x+=1
if total == i:
print(str(i)+" is a perfect number")
i += 1
When you run this code, you'll see that 6, 28, 496, and 8128 are all perfect numbers.
Answer:
This is a Answer Not Question... But Answering it to explain what it is.
Explanation: