Problem 2
Determine all positive integers n for which (n^2+1)/(floor(sqrt(n))^2+2) is an integer. Here floor(r) denotes the greatest integer less than or equal to r.
Step 4 of 6: Exclude k=1
Detailed analysis
If k=1, then (a−2)^2−m^2=1. The difference of the two squares can equal 1 only with m=0 and |a−2|=1, contradicting m≥1.