OFFSET
3,1
EXAMPLE
a[11]=3, as 3 is the smallest prime factor from 10=2.5 and 12=2.2.3
PROG
(PARI) for (n=3, 100, print1(", "min(factor(n-1)[, 1][length(factor(n-1)[, 1])], factor(n+1)[, 1][length(factor(n+1)[, 1])])))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Oct 21 2002
STATUS
approved