OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
EXAMPLE
m=77, 2*d(77) = 2*4 = 8 = d(78).
MATHEMATICA
Select[Range@ 520, DivisorSigma[0, # + 1] == 2 DivisorSigma[0, #] &] (* Michael De Vlieger, Feb 19 2017 *)
PROG
(PARI) { n=0; for (m=1, 10^9, if (numdiv(m + 1) == 2*numdiv(m), write("b063446.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 21 2009
(Magma) [n: n in [1..600] | NumberOfDivisors(n+1) eq (2* NumberOfDivisors(n))]; // Vincenzo Librandi, Aug 04 2018
(GAP) Filtered([1..520], n->Tau(n+1)=2*Tau(n)); # Muniru A Asiru, Aug 20 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 24 2001
STATUS
approved