ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2070. Interesting Numbers

Can somebody help me, please ?
Posted by Abbos 6 Aug 2016 20:38
 "Nikolay thinks an integer is interesting if it is a prime number. However, Asya thinks an integer is interesting if the amount of its positive divisors is a prime number "
If it so, "Nikolay and Asya are happy when their tastes about some integer are common."
How come it can be true,  prime number is a number which does not have divisors except for 1 and itself, but it says ,in Asya sentence, that  "amount of its positive divisors is a prime number ",Does it mean 1 and the number given ?  Can somebody explain it to me and the sample given below the problem , please
Re: Can somebody help me, please ?
Posted by Combatcook 6 Aug 2016 20:58
It means that all numbers, which are interesting to Nikolay, are also interesting to Asya, but there are some numbers, which are interested to Asya only.
For example, in first sample: 3,5,6,7 are interested to both, 4 is interested only to Asya.
And yes, surely divisors of some number include 1 and this number.

Edited by author 06.08.2016 21:02
Re: i don't understood
Posted by Samoylo Alexandr Alexandrovich 29 Feb 2024 02:54
How can the number 6 be of interest to Nicholas if it is not prime?