Fascinating Number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fascinating Number

Given a number N, the task is to check whether it is fascinating or not. Fascinating Number: When a number( 3 digits or more ) is multiplied by 2 and 3, and when both these products are concatenated with the original number, then it results in all digits from 1 to 9 present exactly once. There could be any number of zeros and are ignored.

28th Apr 2019, 8:30 AM
Animesh Banerjee
Animesh Banerjee - avatar
1 Answer
+ 2
Please either submit this as an assignment in Lesson Factory, or make this your feeds post. FYI, there was a similar challenge before, created as feeds post a few months back. https://www.sololearn.com/post/62174/?ref=app * How to create a feeds post https://www.sololearn.com/post/903/?ref=app
28th Apr 2019, 9:04 AM
Ipang