A289338 Composite numbers (pseudoprimes) n, that are not Carmichael numbers, such that A000670(n) == 1 (mod n).
169, 885, 2193, 8905, 22713
Offset: 1
Links
- I. J. Good, The number of orderings of n candidates when ties are permitted, Fibonacci Quarterly, Vol. 13 (1975), pp. 11-18.
Programs
-
Mathematica
a[0] = 1; a[n_] := a[n] = Sum[Binomial[n, k]*a[n - k], {k, 1, n}]; carmichaelQ[n_]:=(Mod[n, CarmichaelLambda[n]] == 1); seqQ[n_] := !PrimeQ[n] && !carmichaelQ[n] && Divisible[a[n]-1,n]; Select[Range[2,500],seqQ]
Comments