A033553 3-Knödel numbers or D-numbers: numbers m > 3 such that m | k^(m-2)-k for all k with gcd(k, m) = 1.
9, 15, 21, 33, 39, 51, 57, 63, 69, 87, 93, 111, 123, 129, 141, 159, 177, 183, 195, 201, 213, 219, 237, 249, 267, 291, 303, 309, 315, 321, 327, 339, 381, 393, 399, 411, 417, 447, 453, 471, 489, 501, 519, 537, 543, 573, 579, 591, 597, 633, 669, 681, 687, 693, 699, 717, 723, 753, 771, 789, 807, 813, 819
Offset: 1
Keywords
References
- A. Makowski, Generalization of Morrow's D-Numbers, Bull. Belg. Math. Soc. Simon Stevin, Vol. 36 (1962/63), p. 71.
- Paulo Ribenboim, The Little Book of Bigger Primes, 2nd ed., Springer, 2004, pp. 102-103.
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000 (First 489 terms from R. J. Mathar).
- John H. Castillo and Jhony Fernando Caranguay Mainguez, The set of k-units modulo n, Involve, a Journal of Mathematics, Vol. 15, No. 3 (2022), pp. 367-378; arXiv preprint, arXiv:1708.06812 [math.NT], 2017.
- Walter Knödel, Carmichaelsche Zahlen, Math. Nachr., Vol. 9 (1953), pp. 343-350.
- D. C. Morrow, Some Properties of D Numbers, The American Mathematical Monthly, Vol. 58, No. 5 (1951), pp. 329-330.
- Eric Weisstein's World of Mathematics, D-Number.
- Eric Weisstein's World of Mathematics, Knödel Numbers.
- Wikipedia, Knödel number.
Crossrefs
Programs
-
Maple
isKnodel := proc(n,k) local a; for a from 1 to n do if igcd(a,n) = 1 then if modp(a&^(n-k),n) <> 1 then return false; end if; end if; end do: return true; end proc: isA033553 := proc(n) isKnodel(n,3) ; end proc: A033553 := proc(n) option remember; if n = 1 then return 9; else for a from procname(n-1)+1 do if isprime(a) then next; end if; if isA033553(a) then return a; end if; end do: end if; end proc: seq(A033553(n),n=1..100) ; # R. J. Mathar, Aug 14 2024
-
Mathematica
Select[Range[4, 10^3], Divisible[# - 3, CarmichaelLambda[#]] &] (* Michael De Vlieger, Jul 15 2017 *)
-
PARI
{ isA033553(n) = my(p=factor(n)); for(i=1,matsize(p)[1], if( (n-3)%eulerphi(p[i,1]^p[i,2]), return(0)); ); 1; } \\ Max Alekseyev, Oct 04 2016
Extensions
Edited by N. J. A. Sloane, May 07 2007
Comments