A295523 Nonprime numbers n such that A243822(n) >= A243823(n).
1, 4, 6, 10, 12, 18, 30
Offset: 1
Examples
1 is in the sequence because it is not prime and there are no nondivisors in the cototient, therefore A243822(1) = A243823(1) = 0. 4 is in the sequence because it is the very smallest composite; nondivisors in the cototient of n are composite and since 4 | 4, both A243822(4) and A243823(4) = 0. 6 is in the sequence because it is the only number for which A243822(6) = 1 but A243823(6) = 0. A272618(6) = 4; 4 | 6^2. 10 is in the sequence because it has 2 semidivisors 4 | 10^2 and 8 | 10^3, while only 1 semitotative 6 = 2 * 3. 14 is not in the sequence since it has 2 semidivisors (4 and 8) but 3 semitotatives (6, 10, and 12). List of terms n followed by row n of A272618 and A272619: 1, {}, {} 4, {}, {} 6, {4}, {} 10, {4,8}, {6} 12, {8,9}, {10} 18, {4,8,12,16}, {10,14,15} 30, {4,8,9,12,16,18,20,24,25,27}, {14,21,22,26,28}
Links
- M. De Vlieger, Exploring Number Bases as Tools, ACM Inroads, March 2012, Vol. 3, No. 1, pp. 4-12.
Programs
-
Mathematica
Select[Range@ 30, Function[n, And[! PrimeQ@ n, #2 - #1 >= n - (#2 + #3 - 1)] & @@ {DivisorSigma[0, n], Count[Range@ n, _?(PowerMod[n, #, #] == 0 &)], EulerPhi@ n}]]
Comments