|
|
A083794
|
|
Numbers n such that tau(n) is different from tau(n-1), where tau(m) = number of divisors of m.
|
|
2
|
|
|
1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 36, 37, 38, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
with(numtheory): for n from 1 to 150 do if tau(n) <> tau(n-1) then printf(`%d, `, n) fi: od: # James A. Sellers, May 19 2003
|
|
MATHEMATICA
|
a083794[n_] :=
Prepend[Select[Range[1, n],
DivisorSigma[0, #] != DivisorSigma[0, # - 1] &], 1]; a083794[82] (* Michael De Vlieger, Dec 24 2014 *)
|
|
PROG
|
(PARI) is(n)=numdiv(n-1)!=numdiv(n)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|