A248881 Numbers n such that lambda(sum of even divisors of 2n) = lambda(sum of odd divisors of 2n) where lambda is the Carmichael function (A002322).
1, 3, 5, 6, 9, 11, 13, 17, 18, 19, 25, 26, 27, 29, 36, 37, 38, 41, 43, 45, 49, 50, 53, 54, 59, 61, 63, 65, 67, 68, 72, 73, 74, 75, 81, 82, 83, 85, 86, 87, 89, 90, 95, 97, 98, 99, 100, 101, 103, 107, 109, 113, 117, 121, 122, 125, 126, 130, 131, 134, 137, 139
Offset: 1
Keywords
Examples
18 is in the sequence because A002322(A074400(18))= A002322(78)= 12 and because A002322(A000593(18)) = A002322(13) = 12.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
lst={};f[x_] := Plus @@ Select[Divisors[x], OddQ[#] &]; g[x_] := Plus @@ Select[Divisors[x], EvenQ[#]&]; Do[If[CarmichaelLambda[f[n]]== CarmichaelLambda[g[n]], AppendTo[lst,n/2]], {n, 1, 500}];lst
-
PARI
a002322(n) = lcm(znstar(n)[2]); isok(n) = my(sod = sumdiv(2*n, d, d*(d%2))); my(sed = sigma(2*n) - sod); sod && sed && (a002322(sod) == a002322(sed)); \\ Michel Marcus, Mar 07 2015
Comments