In a particular social network friends are automatically allocated to users by the
system and users cannot add friends of their choice on their own. There are
currently N users on the social network, labeled from 2 to N + 1.
For every ith user (where i ranges from 2 to N + 1), the system allocated all the
users labeled with multiples of i as the user's friends (if possible)
One day, all users of the social network come together for a meeting and form
groups such that each person in a group is a direct friend or a friend of friend of
every other person of that group.
Find the total number of groups.
Input Specification:
input1: N, denoting the number of users on the social network
Output Specification:
Your function should return the number of groups that can be formed on the
given conditions
Answers
Answered by
0
Meaning of democratic in English
democratic
adjective
B2
based on the principles of democracy:
We must accept the results of a democratic election (= an election in which all people can vote).
Do you think Australia is a more democratic country than Britain?
More examples
The 1990s have seen a shift to democratic government in Eastern Europe.
The president has promised a new constitution and the creation of democratic power structures.
These will be the first truly democratic elections in the country's history.
How can there be democratic elections without a free press?
We must do more to smooth the country's path to democratic reform.
Similar questions
Science,
4 months ago
Math,
4 months ago
Math,
9 months ago
Computer Science,
9 months ago
English,
1 year ago