login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A337806 Numbers that are a divisor of the product of the differences of its consecutive divisors. 2

%I #17 Sep 28 2020 22:25:33

%S 8,12,16,20,24,27,28,30,32,36,40,44,45,48,52,56,60,63,64,68,70,72,76,

%T 80,81,84,88,90,92,96,99,100,104,105,108,112,116,117,120,124,125,126,

%U 128,132,135,136,140,144,148,150,152,153,154,156,160,164,165,168,171,172,175,176,180,182,184

%N Numbers that are a divisor of the product of the differences of its consecutive divisors.

%H Robert Israel, <a href="/A337806/b337806.txt">Table of n, a(n) for n = 1..10000</a>

%e 8 is a term as the divisors of 8 are 1,2,4,8, the differences of which are 1,2,4, and 1*2*4 = 8 which is a multiple of 8.

%e 20 is a term as the divisors of 20 are 1,2,4,5,10,20, the differences of which are 1,2,1,5,10, and 1*2*1*5*10 = 100 which is a multiple of 20.

%e 27 is a term as the divisors of 27 are 1,3,9,27, the differences of which are 2,6,18, and 2*6*18 = 216 which is a multiple of 27.

%e 99 is a term as the divisors of 99 are 1,3,9,11,33,99, the difference of which are 2,6,2,22,66, and 2*6*2*22*66 = 34848 which is a multiple of 99.

%p filter:= proc(n) local R,p;

%p R:= sort(convert(numtheory:-divisors(n),list));

%p p:= convert(R[2..-1]-R[1..-2],`*`);

%p p mod n = 0

%p end proc:

%p select(filter, [$2..1000]); # _Robert Israel_, Sep 27 2020

%t Select[Range[2, 200], Divisible[Times @@ Differences @ Divisors[#], #] &] (* _Amiram Eldar_, Sep 23 2020 *)

%o (PARI) isok(k) = my(d=divisors(k)); (#d > 1) && (vecprod(vector(#d-1, k, d[k+1]-d[k])) % k) == 0; \\ _Michel Marcus_, Sep 23 2020

%Y Cf. A193829, A027750. Contains A337877.

%K nonn

%O 1,1

%A _Scott R. Shannon_, Sep 23 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 16 04:06 EDT 2024. Contains 375959 sequences. (Running on oeis4.)