OFFSET
1,2
COMMENTS
Numbers k such that d(k+1) - d(k) = 1, where d(k) is A000005(k), the number of divisors.
Numbers k such that A051950(k+1) = 1. - Danny Rorabaugh, Oct 05 2017
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1000 terms from Donovan Johnson)
EXAMPLE
a(4) = 15, as 15 has 4 and 16 has 5 divisors. a(6) = 63, as 63 and 64 have 6 and 7 divisors respectively.
MATHEMATICA
Select[ Range[ 200000], DivisorSigma[0, # ] + 1 == DivisorSigma[0, # + 1] &]
PROG
(PARI) for(n=1, 1000, if(numdiv(n+1)-numdiv(n)==1, print1(n, ", "))); /* Joerg Arndt, Apr 09 2011 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 21 2000
EXTENSIONS
More terms from David W. Wilson, Sep 06 2000, who remarks that every element is of form n^2 or n^2 - 1.
STATUS
approved