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!)
A182116 Carmichael numbers that only have composite XOR couples as defined in A182108. 3
410041, 19384289, 41341321, 43620409, 69331969, 93030145, 122785741, 130032865, 133344793, 133800661, 157731841, 238527745, 334783585, 396262945, 403043257, 413631505, 417241045, 477726145, 490503601, 561777121, 631071001, 686059921, 707926801, 854197345 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are 255 Carmichael numbers below 10^8 but only 6 of them have this property.
LINKS
PROG
(Magma)
XOR := func<a, b | Seqint([ (adigs[i] + bdigs[i]) mod 2 : i in [1..n]], 2)
where adigs := Intseq(a, 2, n)
where bdigs := Intseq(b, 2, n)
where n := 1 + Ilog2(Max([a, b, 1]))>;
function IsClardynum(X, i)
if i eq 1 then
return true;
else
xornum:=2^i - 2;
xorcouple:=XOR(X, xornum);
if (IsPrime(xorcouple)) then
return false;
else
return IsClardynum(X, i-1);
end if;
end if;
end function;
function Korselt(X, n);
i:=1;
while IsDefined(X, i) do
b:=(n-1)mod(X[i]-1);
if (b ne 0) then return false;
else i:=i+1;
end if;
end while;
return true;
end function;
function IsCarmichael(n);
if IsPrime(n) then return false;
end if;
A:=AssociativeArray();
if IsSquarefree(n) then
A:=PrimeDivisors(n);
if Korselt(A, n) then return true;
else return false;
end if;
else
return false;
end if;
end function;
for i:=561 to 100000001 by 2 do
if IsCarmichael(i) then
if IsClardynum(i, Ilog2(i)) then i;
end if;
end if;
end for;
CROSSREFS
Sequence in context: A295445 A183705 A233995 * A249405 A237676 A307475
KEYWORD
nonn
AUTHOR
Brad Clardy, Apr 12 2012
EXTENSIONS
a(11)-a(19) by Brad Clardy, May 10 2014
More terms and b-file (using the Magma program by Brad Clardy and the b-file of Carmichael numbers from A002997) from Jon E. Schoenfield, May 10 2014
STATUS
approved

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 July 3 01:51 EDT 2024. Contains 373963 sequences. (Running on oeis4.)