Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Andrew loves numbers whose prime factor includes 2,3 or 5

Andrew loves numbers whose prime factor includes 2,3 or 5

Computer Science

Andrew loves numbers whose prime factor includes 2,3 or 5. He wants to know the Nth such number. Help Andrew find that.

Input:-  N - nth number 

Output:- Nth number matching Andrew’s specification.

 

note
Constraints
1<=N<=1650

view_list
Examples
Input:
10

Output:
12

Explanation:
1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of the first 10 numbers matching Andrew’s specification.
label_important
Important Notes
1 is a part of the series

Option 1

Low Cost Option
Download this past answer in few clicks

1.3 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions