login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Carmichael numbers ending in 3.
5

%I #18 Jul 26 2022 13:38:53

%S 52633,63973,334153,670033,997633,2508013,2628073,5968873,6733693,

%T 13696033,15829633,15888313,18900973,26280073,27336673,46483633,

%U 53711113,65241793,67653433,75765313,124630273,133344793,158864833,182356993,227752993,242641153,292244833,426821473,577240273,580565233,600892993

%N Carmichael numbers ending in 3.

%H Amiram Eldar, <a href="/A355309/b355309.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Ca#Carmichael">Index entries for sequences related to Carmichael numbers</a>

%t Select[10*Range[0, 10^7] + 3, CompositeQ[#] && Divisible[# - 1, CarmichaelLambda[#]] &] (* _Amiram Eldar_, Jul 25 2022 *)

%o (Python)

%o from itertools import count, islice

%o from sympy import factorint

%o def A355309_gen(): # generator of terms

%o for n in count(3,10):

%o f = factorint(n)

%o if len(f) == sum(f.values()) > 1 and not any((n-1) % (p-1) for p in f):

%o yield n

%o A355309_list = list(islice(A355309_gen(),5)) # _Chai Wah Wu_, Jul 26 2022

%Y Intersection of A002997 and A017305.

%Y Cf. A352970, A354609, A355305, A355307.

%K nonn,base

%O 1,1

%A _Omar E. Pol_, Jul 25 2022