# Computed 2018-09-29 in GP/PARI CALCULATOR Version 2.9.4 (released) amd64 running linux (x86-64/GMP-6.1.2 kernel) 64-bit version, compiled: Dec 19 2017, gcc version 7.3.0 (Ubuntu 7.3.0-1ubuntu1), threading engine: pthread # with the following program: # # A204998(n) = { my(d); for(k=sqrtint(1+n),oo, for(j=1,k-1,if(!((d=(k^2)-(j^2))%n),return(d),if(d