![]() ![]() If you’d like to find out if a given number is happy, you’ll need to perform the following set of operations. Then, those cubed numbers are added together to produce a sum equal to the original number. What? Let’s take an example of the four existing narcissistic cubes:153 = 1^3 + 5^3 + 3^3 370 = 3^3 + 7^3 + 0^3 371 = 3^3 + 7^3 + 1^3 407 = 4^3 + 0^3 + 7^3In these cases, each digit is cubed because there are three digits in the number. Narcissistic numbers, also known as Armstrong numbers or “pluperfect digital invariants,” are numbers that-listen closely-are equal to the sum of each of its digits when those digits are raised to the power of the AMOUNT of digits in the number.Ok. so I thought it would be useful to gather some interesting mathematical numbers and it would be very kind of anyone to share an mathematical formula, facts, numbers that can help in tackling such problems. Recently I was solving (UVA-10490) that I found tackling the problem knowing an interesting mathematical fact would make it very very simple unlike if you don't know this fact.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |