##
Nth Square free number
April 20, 2017

Given a number n, find the n-th square-free number. A number is square-free if it is not divisible by a perfect square other than 1. Examples: Input : n = 2 Output : 2 Input : 5 Output : 6 There is one number (in range from 1 to 6) that is divisible by a… Read More »