OFFSET
1,2
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 1 because the first composite is 3^2+1 = 2*5 and 3-2 = 1.
MAPLE
with(numtheory):
for n from 1 to 200 do:
p:=n^2+1:x:=factorset(p):d:=n-x[1]:
if type(p, prime)=false
then
printf(`%d, `, d):
else
fi:
od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Oct 07 2014
STATUS
approved