OFFSET
1,1
COMMENTS
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..1000 (first 226 terms from T. D. Noe)
EXAMPLE
Sequence begins:
14, 15;
206, 207;
957, 958;
1334, 1335;
etc.
MATHEMATICA
sel = Select[Range[100000], DivisorSigma[1, #] == DivisorSigma[1, # + 1] &]; Union[sel, sel + 1]
Flatten[SequencePosition[DivisorSigma[1, Range[80000]], {x_, x_}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 13 2017 *)
PROG
(PARI) v=List(); t=[1, 3]; for(n=3, 1e6, t=[t[2], sigma(n)]; if(t[1]==t[2], listput(v, n-1); listput(v, n))); vecsort(Vec(v), , 8) \\ Charles R Greathouse IV, May 15 2013
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Jean-François Alcover, May 15 2013
STATUS
approved