Open Access Open Access  Restricted Access Subscription Access
Open Access Open Access Open Access  Restricted Access Restricted Access Subscription Access

The Sequence n! (mod p)


Affiliations
1 Institute of Mathematics of the Romanian Academy, P.O. Box 1-764, 70700 Bucharest, Romania
2 Institute of Mathematics of the Romanian, Academy, P.O. Box 1-764, 70700 Bucharest, Romania
     

   Subscribe/Renew Journal


We investigate a problem raised by R. K. Guy concerning the distribution modulo a large prime number p of the sequence 1!, 2!,... ,p!. Numerical computations indicate that about E residue classes modulo p are missed by this sequence. We show that this is the general behavior of a randomly chosen sequence of p elements modulo p. We also show that for p large enough, the map n -> n! (mod p) is far from being a permutation of at least one of the sets {1,2,... ,p - 1} or {2,4, • • •, [p-1/4]}, in the sense that a positive proportion of residues are missed in at least one of the above sets.
User
Subscription Login to verify subscription
Notifications
Font Size

Abstract Views: 156

PDF Views: 0




  • The Sequence n! (mod p)

Abstract Views: 156  |  PDF Views: 0

Authors

C. Cobeli
Institute of Mathematics of the Romanian Academy, P.O. Box 1-764, 70700 Bucharest, Romania
M. Vajaitu
Institute of Mathematics of the Romanian, Academy, P.O. Box 1-764, 70700 Bucharest, Romania
A. Zaharescu
Institute of Mathematics of the Romanian Academy, P.O. Box 1-764, 70700 Bucharest, Romania

Abstract


We investigate a problem raised by R. K. Guy concerning the distribution modulo a large prime number p of the sequence 1!, 2!,... ,p!. Numerical computations indicate that about E residue classes modulo p are missed by this sequence. We show that this is the general behavior of a randomly chosen sequence of p elements modulo p. We also show that for p large enough, the map n -> n! (mod p) is far from being a permutation of at least one of the sets {1,2,... ,p - 1} or {2,4, • • •, [p-1/4]}, in the sense that a positive proportion of residues are missed in at least one of the above sets.