OFFSET
0,1
COMMENTS
Conjecture: No term is zero.
a(2k+1) is either a square or one more than a square. - David Wasserman, Mar 24 2005
LINKS
Giovanni Resta, Table of n, a(n) for n = 0..1000 (first 500 terms from Donovan Johnson)
EXAMPLE
a(3) = 50 as tau(50) - tau(49) = 6 - 3 = 3.
MATHEMATICA
With[{tau=Partition[DivisorSigma[0, Range[10^6]], 2, 1]}, Flatten[ Table[ Position[ #[[2]]-#[[1]]&/@tau, n, 1, 1], {n, 0, 50}]]]+1 (* Harvey P. Dale, Aug 20 2017 *)
PROG
(PARI) /* finds first 100 terms */ nn=vector(100); nd1=1; for(k=2, 24285184, nd2=numdiv(k); d=nd2-nd1; if(d>0, if(d<=100, if(nn[d]==0, nn[d]=k))); nd1=nd2); for(n=1, 100, write("b086550.txt", n " " nn[n])) /* Donovan Johnson, Sep 25 2013 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 28 2003
EXTENSIONS
Corrected and extended by David Wasserman, Mar 24 2005
Offset changed to 0, and a(0) added by Giovanni Resta, Apr 28 2017
STATUS
approved