OFFSET
1,2
COMMENTS
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..10000
FORMULA
PROG
(PARI) c=1; for(n=1, oo, matsize(f=factor(n*I))[1]<=2 && vecsum(f[, 2])==2+(f[1, 1]==I) && !write("/tmp/b300587.txt", c" "max(real(f=f[3-f[1, 2], 1]), imag(f))) && c++>1e4 && break) \\ Replace write("/tmp/b300587.txt", c" by print1(", to print the values.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
M. F. Hasler, Mar 09 2018
STATUS
approved