A316780 a(n) is the least positive integer k such that ceiling(sqrt(A046315(n)*k))^2 - A046315(n)*k is a square.
1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 3, 1, 5, 1, 3, 7, 1, 7, 3, 9, 3, 3, 1, 9, 9, 3, 11, 1, 5, 5, 13, 3, 1, 15, 15, 5, 1, 17, 3, 5, 1, 17, 7, 3, 17, 1, 7, 19, 1, 21, 3, 5, 7, 23, 5, 1, 25, 9, 1, 5, 25, 9, 27, 3, 27, 1, 29, 5, 11, 29, 3, 11, 1, 11, 5, 3, 33, 1, 35, 13
Offset: 1
Keywords
Examples
a(18) = 7 because the 18th odd semiprime is A046315(18) = 93, ceiling(sqrt(93*7))^2 - 93*7 = 25 is a perfect square and 7 is the least positive integer for which this holds.
Crossrefs
Cf. A046315.
Comments