login
A050514
Cards left over after dealing evenly to n people.
1
0, 0, 1, 0, 2, 4, 3, 4, 7, 2, 8, 4, 0, 10, 7, 4, 1, 16, 14, 12, 10, 8, 6, 4, 2, 0, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52
OFFSET
1,5
FORMULA
a(n) = mod(52, n)
a(n) = 52 - n*A033372(n). - Rick L. Shepherd, Jun 17 2005
MATHEMATICA
Mod[52, Range[80]] (* Harvey P. Dale, Jul 30 2017 *)
PROG
(PARI) a(n) = 52%n
CROSSREFS
Cf. A033372 (floor(52/n): cards each of the n people receive).
Sequence in context: A291563 A178151 A087794 * A229047 A335841 A133702
KEYWORD
nonn,easy
AUTHOR
Joe Keane (jgk(AT)jgk.org)
STATUS
approved