The Duck Giveaway 2016, Seasonal Edition

Friends, the contest is over! The winning number was 50, picked by CarLaTeX. Thanks everybody for joining the contest!

'ello, ladies and gentlemen, boys and girls, ducks and mallards, children of all ages! It is time for organizing another amazing community lottery, our beloved duck giveaway 2016, seasonal edition! The previous giveaway was a huge success, so let us try that again! Quack!

The prize

The prize will be a lovely duck! Not a real one, I am afraid (note to self: organize another lottery with real ducks in the future), it will be a hand puppet duck:

Lovely, isn't it?

Again, why a duck? Why not a lion?

As I mentioned in the thread linked here, I always like to provide examples with ducks when I write answers. To my surprise, the theme got a very positive feedback from the community and it spread to everybody. Of course, a lion would be better, but hey, it's free! And it's a duck! :)

Why a hand puppet?

This will be our third lottery offering a duck puppet and I still have absolutely no idea. But since I got this duck again, I thought it would be a good idea to start a contest! :)

Rules

Rules from last lottery still apply:

• To win the duck you must guess a number in the range 1-200. The first person who guesses the right number gets the duck.

• Contestants may submit 2 valid guesses. UPDATE: Let us spice things up! you can now select a third entry! :)

• Contestants must have been a member of TeX.sx before 1 November, 2016.

• If two or more people choose the same number, only the oldest entry will be considered. The other guesses will be automatically disqualified.

• If you win the contest, I will need your real name and address for shipping and customs purposes (you can contact me through email, so only I will have privileged access). If you seek anonymity, we advise you to not enter this contest.

The lottery

As seen in the last lottery, I'll use the following code to pick the winner (special thanks to the awesome LaTeX Project for LaTeX3):

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{expl3}
\usepackage{xparse}

\usepackage{pgf}
\pgfmathsetseed{\number\pdfrandomseed}

\ExplSyntaxOn

\prop_new:N \g_duck_contest_prop
\int_new:N \g_duck_contest_upper_limit_int
\bool_new:N \l_duck_contest_winner_bool
\bool_set_false:N \l_duck_contest_winner_bool
\tl_new:N \l_duck_contest_winner_tl
\int_new:N \l_duck_contest_winning_number_int

\NewDocumentCommand { \person } { m m }
{
\clist_map_inline:nn { #1 }
{
\prop_if_in:NnTF \g_duck_contest_prop { ##1 }
{
Hey! ~ #2 ~ wants ~ to ~ be ~ naughty! ~
The ~ number ~ ##1 ~ was ~ already ~ chosen! \par
}
{
\prop_gput:Nnn \g_duck_contest_prop { ##1 } { #2 }
\int_gset:Nn \g_duck_contest_upper_limit_int
{
\int_max:nn { \g_duck_contest_upper_limit_int } { ##1 }
}
}
}
}

\NewDocumentCommand{ \winner } { }
{
\bool_do_until:Nn \l_duck_contest_winner_bool
{
\pgfmathrandom{1, \g_duck_contest_upper_limit_int}
\prop_get:NoN \g_duck_contest_prop { \pgfmathresult } \l_duck_contest_winner_tl
\quark_if_no_value:NF \l_duck_contest_winner_tl
{
\bool_set_true:N \l_duck_contest_winner_bool
}
}
\int_set_eq:NN \l_duck_contest_winning_number_int \pgfmathresult
\l_duck_contest_winner_tl
}

\cs_generate_variant:Nn \prop_get:NnN { No }

\NewDocumentCommand{ \winningnumber } { }
{
\int_to_arabic:n \l_duck_contest_winning_number_int
}

\ExplSyntaxOff

\begin{document}

% ==============================
% For example, in the following line
% I picked 1 and 27, but I'm not
% participating in the contest :)
% \person{1,27}{Paulo Cereda}
% ==============================

% the announcement
The winner is \winner, with \winningnumber! Congratulations!

\end{document}


I will run this code with all the contestants, post a video of it and announce the winner. The "accepted answer" in this thread will reflect the winning number.

The date

Hopefully, I will get the code running on December 30, 2016 (Friday), and announce the winner. There will be enough time for guessing the numbers!

Good luck! And by the way, welcome to TeX.sx, the friendliest and most awesome community in the whole StackExchange network! They give us hats, right? We give ducks! Quack! :)

---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|037|038|●●●|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|053|●●●|055|056|057|058|059|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|065|●●●|067|●●●|●●●|●●●|●●●|●●●|●●●|●●●|075|●●●|●●●|●●●|●●●|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|091|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|104|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|118|●●●|●●●|
---------------------------------------------------------------------------------
|●●●|122|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|134|135|●●●|●●●|138|139|●●●|
---------------------------------------------------------------------------------
|●●●|●●●|●●●|●●●|145|●●●|●●●|●●●|●●●|150|●●●|152|●●●|154|●●●|156|157|158|●●●|160|
---------------------------------------------------------------------------------
|●●●|●●●|163|●●●|165|●●●|167|168|●●●|170|●●●|172|●●●|●●●|175|176|●●●|●●●|179|180|
---------------------------------------------------------------------------------
|●●●|182|183|●●●|185|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|●●●|
---------------------------------------------------------------------------------


Disclaimer: Friends, we are now accepting a third entry. I will check the winning number on the answers list, based on the posted date. Note that the edit history will also be considered.

Results

The winner of the duck in this edition is CarLaTeX, and the chosen number was 50! I recorded the results in my terminal and the session is available here. Thanks everybody for joining the contest! And thanks for being part of this amazing community! Quack! :)

• Aside: We are working on a proper random number function for expl3. Bruno's hopefully going to add something soon (and I'm going to bother the XeTeX people for a couple of primitives)
– Joseph Wright Mod
Nov 9 '16 at 9:14
• @JosephWright: oooooh awesome! So ducks do really help LaTeX3 development! :) Nov 9 '16 at 9:15
– cfr
Nov 10 '16 at 1:50
• @cfr: I was reflecting that perhaps we need a mathduck package even more than a mathwitch package… ;-)
– GuM
Dec 3 '16 at 3:25
• @GustavoMezzetti But witches have cats! Ducks are great, but I'm not sure about putting one on the back of my broomstick ... But it is like trying to choose between cake and biscuits. Can't we have both?!
– cfr
Dec 3 '16 at 3:43

I nominate the following three bright and shiny numbers: 61, 62, and 64!

• Thanks for joining the contest! Nov 12 '16 at 23:34
• ✓ numbers punched ✓ Nov 13 '16 at 20:28
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:53
• @PauloCereda - Thanks! I've added "62". :-)
– Mico
Dec 28 '16 at 14:00

1 and 146 (sticking to my strategy from the last time)

79 (third choice)

• ✓ numbers punched ✓ Nov 9 '16 at 20:55
• Thanks for joining the contest! Nov 10 '16 at 10:15
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:48
• @PauloCereda: Thanks for the heads up. Number (79) punched. Dec 28 '16 at 14:06

I choose 006 and 195 . . .

Edit: 182 is my third choice.

• ✓ numbers punched ✓ Nov 10 '16 at 16:55
• Thanks for joining the contest! Nov 11 '16 at 9:14
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:50
• Thanks for the information. I selected my third number. Please punch for me. Dec 28 '16 at 14:17

Maybe, 198 , 180, 189.

Good duck.

• Numbers punched. Dec 2 '16 at 0:05
• Thanks for joining the contest! Dec 2 '16 at 13:45
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:58

Symmetric numbers for me! 88 and 181

Third option: 13

• Thanks for joining the contest! Nov 10 '16 at 10:19
• ✓ numbers punched ✓ Nov 10 '16 at 16:53
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:50

I will choose 14 and 44 please!

Edit: my 3rd choice is 73, as that's my average grade at university ;)

• Thanks for joining the contest! Nov 10 '16 at 10:19
• ✓ numbers punched ✓ Nov 10 '16 at 16:53
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:50

I'll go for 86 and 92.

Update: third choice is 96 (punched)!

Which are the median and rounded average of all prime numbers between 0 and 200, respectively. All this calculations should give me some luck... :D

• Thanks for joining the contest, pal! :) Nov 9 '16 at 9:27
• ✓ numbers punched ✓ Nov 9 '16 at 10:16
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:47

I choose 35 and 112, because I'm a perfect random number generator :)

EDIT: As my third, and winning number, I chose 149 because that's better than the previous two numbers combined.

• ✓ numbers punched ✓ Nov 10 '16 at 9:16
• Thanks for joining the contest! Nov 10 '16 at 10:16
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:49

I'll take 111 and 171 for a lucky duck.

Thanks for the fun!

And 187 for a third.

• Thanks for joining the contest! Nov 11 '16 at 9:15
• ✓ numbers punched ✓ Nov 11 '16 at 9:21
• Eleventy-one! (Or perhaps Nelson?)
– Joseph Wright Mod
Nov 12 '16 at 21:54
• @JosephWright For the Eleventy-first birthday! Nov 12 '16 at 21:56
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:52

069 and 151. Nice visualisation of punched numbers.

My third choice is 134

• Thanks for joining the contest! Nov 9 '16 at 13:03
• ✓ numbers punched ✓ Nov 9 '16 at 14:56
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:48

Yipee! I'd go for 13 and 17, as well as 123! Thank you!

• Thanks for joining the contest! Nov 9 '16 at 9:15
• ✓ numbers punched ✓ Nov 9 '16 at 10:16
• @percusse thank you for having done it for me: I didn't noticed I had sufficient rights to edit the post. my bad. Nov 9 '16 at 10:17
• no worries.. :) just housekeeping Nov 9 '16 at 10:19
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:47
• @PauloCereda done! thank you Dec 28 '16 at 21:20

I choose:

093

and

173

and my third number is 094

• ✓ numbers punched ✓ Nov 12 '16 at 15:56
• Thanks for joining the contest! Nov 12 '16 at 23:34
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:52

I chose the following numbers: 77 and 21

• Thanks for joining the contest! Nov 12 '16 at 23:34
• ✓ numbers punched ✓ Nov 13 '16 at 20:30
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:00

I choose:

026


and

090

• 3 is taken unfortunately, punched 90 though Nov 9 '16 at 14:54
• Thanks for joining the contest! Nov 10 '16 at 10:20
• Can you choose another number instead of 3 from the table ? Nov 11 '16 at 9:32
• I choose then 26. Nov 14 '16 at 6:34
• ✓ numbers punched ✓ Nov 14 '16 at 17:03
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:01
• Then I pick 180! Dec 30 '16 at 7:57

And here I am with 017 and 113, thank you for the nice duck!

• Thanks for joining the contest! Nov 15 '16 at 10:30
• ✓ numbers punched ✓ Nov 16 '16 at 12:40
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:01

I choose 33 and 84, and I trusted a random number generator.

• Thanks for joining the contest! Nov 17 '16 at 0:24
• numbers punched Nov 20 '16 at 23:11
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:57

I'll choose 49 and 144 for the two irrelevant reasons:

• It is very common to wobble something with an idiom Seven times seven equals 49'' in Cantonese.
• $12\;\times\;12$ is the largest multiplication that I have learnt, and still remember.
• Thanks for joining the contest! Nov 20 '16 at 9:04
• numbers punched Nov 20 '16 at 23:11
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:57

I take 115,178:

\person{115,178}{Knut}

• Numbers punched! Nov 21 '16 at 20:43
• Thanks for joining the contest! Nov 22 '16 at 8:28
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:57

011 and 197

I hope the random algorithm is really random :D

• Numbers punched! Nov 21 '16 at 20:43
• Thanks for joining the contest! Nov 22 '16 at 8:28
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:57

41 and 43, the only remaining pair of twin prime numbers.

• (Card punched!)
– GuM
Dec 2 '16 at 23:55
• Thanks for joining the contest! Dec 7 '16 at 14:44
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:59

66 and 166 because if she weighs the same as a duck... she's made of wood! (and 666 is the number of the beast and these are the closest numbers available).

(punched)

• ooh a witch! :) Thanks for joining the contest! Dec 7 '16 at 14:44
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:01

I now pick 018 and 046 as my favorite # clashes :-D !

• Thanks. I am changing it now!! Dec 6 '16 at 18:45
• ✓ numbers punched ✓ Dec 6 '16 at 22:15
• Thanks for joining the contest! Dec 7 '16 at 14:44
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:59

I choose 45 and 70. Good enough for me.

• Thanks for joining the contest! Dec 7 '16 at 14:45
• ✓ numbers punched ✓ Dec 8 '16 at 15:28
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:00

I'll chose 102 and 103. Because of reasons

• those are picked already. See the punch card in the question Dec 8 '16 at 15:27
• Oh... Silly me... Editing... Sorry Dec 8 '16 at 17:41
• Numbers Punched Dec 8 '16 at 19:19
• Thanks for joining the contest! Dec 9 '16 at 8:17
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:05

Can I get 019 and 078? just because!

• Numbers Punched Dec 9 '16 at 1:36
• Thanks for joining the contest! Dec 9 '16 at 8:18
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:05

116 and 133 because I'm late and these are not taken yet.

• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:06

105 because it's the product of the first three odd primes.

143 because it's the product of the next two.

Third number: 114 (I think it's a stable island in the periodic table for the transuranics).

• Thanks for joining the contest! Nov 29 '16 at 9:43
• numbers punched (by whomever ...) Dec 2 '16 at 0:09
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:58

110 and 159. Just because. :-)

(punched 140 on 28 Dec because 3rd punch available!)

• have now punched 110 and 159! Dec 8 '16 at 6:38
• Thanks for joining the contest! :) Dec 8 '16 at 17:08
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 14:05
• ooh 140 then, punched! Dec 28 '16 at 14:09

I choose 72 and 98. My third number is 062.

• number punched (by whomever ...) Dec 2 '16 at 0:11
• Thanks for joining the contest! Dec 2 '16 at 13:45
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:59

136 and 186, because... They're as random as every other ones 😀 164 added and punched! Thanks!

• numbers punched Nov 20 '16 at 23:11
• Thanks for joining the contest! Nov 21 '16 at 6:06
• It is now possible to pick a third number! Hurry! :) Dec 28 '16 at 13:57