login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A066691
Value of tau(2n-1) when tau(2n-1) = tau(2n+1).
1
2, 2, 2, 2, 2, 4, 2, 4, 2, 2, 4, 4, 4, 2, 2, 4, 2, 4, 4, 2, 4, 2, 4, 4, 2, 2, 4, 4, 4, 4, 4, 4, 2, 4, 2, 6, 4, 4, 2, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 6, 2, 4, 4, 2, 4, 4, 6, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 2, 6, 2, 4, 6, 2, 2, 8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 6, 4, 2, 4, 2
OFFSET
1,1
LINKS
MAPLE
with(numtheory): A066691:=n->`if`(tau(2*n-1) = tau(2*n+1), tau(2*n-1), NULL): seq(A066691(n), n=1..1000); # Wesley Ivan Hurt, Jan 03 2016
PROG
(PARI) for (n=2, 10000, if (numdiv(2*n-1) == numdiv(2*n+1), write1("tau=tau.txt", numdiv(2*n-1), ", ")))
(PARI) { n=0; for (m=1, 10^10, if ((d=numdiv(2*m-1)) == numdiv(2*m+1), write("b066691.txt", n++, " ", d); if (n==1000, return)) ) } \\ Harry J. Smith, Mar 17 2010
(Magma) [NumberOfDivisors(2*n-1): n in [1..400] | NumberOfDivisors(2*n-1) eq NumberOfDivisors(2*n+1)]; // Vincenzo Librandi, Jan 04 2016
CROSSREFS
Cf. A000005 (tau).
Sequence in context: A086876 A373303 A376938 * A260123 A319411 A164296
KEYWORD
nonn
AUTHOR
Jon Perry, Jan 11 2002
EXTENSIONS
Offset changed from 0 to 1 by Harry J. Smith, Mar 17 2010
STATUS
approved