A134321 Positive integers with the same number of non-isolated divisors as isolated divisors. A divisor k of n is non-isolated if k-1 and/or k+1 also divides n. A divisor k of n is isolated if neither k-1 nor k+1 divides n.
8, 10, 14, 18, 22, 24, 26, 34, 38, 40, 46, 56, 58, 60, 62, 72, 74, 82, 84, 86, 94, 106, 110, 118, 122, 132, 134, 142, 146, 156, 158, 166, 178, 182, 194, 202, 206, 210, 214, 218, 220, 226, 254, 262, 274, 278, 298, 302, 314, 326, 334, 346, 358, 362
Offset: 1
Keywords
Examples
The divisors of 40 are 1,2,4,5,8,10,20,40. Of these, 1,2,4,5 are non-isolated divisors and 8,10,20,40 are isolated divisors. There are the same number of non-isolated divisors (4 in number) as isolated divisors (4 in number), so 40 is in the sequence.
Links
- Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
Programs
-
Maple
with(numtheory): a:=proc(n) local div, ISO, i: div:=divisors(n):ISO:={}: for i to tau(n) do if member(div[i]-1,div)=false and member(div[i]+1,div)=false then ISO:= `union`(ISO,{div[i]}) end if end do: nops(ISO) end proc: b:=proc(n) if a(n)=tau(n)-a(n) then n else end if end proc: seq(b(n),n=1..300); # Emeric Deutsch, Oct 24 2007
-
Mathematica
fQ[n_] := Block[{d = Divisors@ n}, Length@ d == 2Length@ Select[d, MemberQ[d, # + 1] || MemberQ[d, # - 1] &]]; Select[ Range@ 400, fQ] (* Robert G. Wilson v, Jun 22 2014 *)
Extensions
More terms from Emeric Deutsch and Hugo van der Sanden, Oct 24 2007
Comments