If the smallest prime with a square excess of n is p then a(n)^2 = p - n.

A056895

If the smallest prime with a square excess of n is p then a(n)^2 = p - n.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =3a(4) =6a(5) =5a(6) =4a(7) =9a(8) =8a(9) =7a(10) =6a(11) =7a(12) =10a(13) =15a(14) =8a(15) =9a(16) =24a(17) =11a(18) =12a(19) =21a(20) =16a(21) =13a(22) =12a(23) =13a(24) =16a(25) =15a(26) =14a(27) =17a(28) =18a(29) =31

External references