41
votes

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:

Quack!

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! :)

  • Please post your guess as an answer to this meta question, not as a comment.

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

Two additional mentions:

  • 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.

Please don't forget to edit the punch card with your numbers.


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}

% add yourself here
% ==============================
% 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! :)

5
  • 13
    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, 2016 at 9:14
  • 6
    @JosephWright: oooooh awesome! So ducks do really help LaTeX3 development! :) Nov 9, 2016 at 9:15
  • 4
    Gwych! Bendigedig! Hwyaden!
    – cfr
    Nov 10, 2016 at 1:50
  • 1
    @cfr: I was reflecting that perhaps we need a mathduck package even more than a mathwitch package… ;-)
    – GuM
    Dec 3, 2016 at 3:25
  • 1
    @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, 2016 at 3:43

76 Answers 76

3
votes

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

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

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

79 (third choice)

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

I choose 006 and 195 . . .

Edit: 182 is my third choice.

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

Maybe, 198 , 180, 189.

Good duck.

3
  • Numbers punched.
    – gernot
    Dec 2, 2016 at 0:05
  • Thanks for joining the contest! Dec 2, 2016 at 13:45
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:58
3
votes

Symmetric numbers for me! 88 and 181

Third option: 13

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

I will choose 14 and 44 please!

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

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

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

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

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.

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

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

Thanks for the fun!

And 187 for a third.

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

069 and 151. Nice visualisation of punched numbers.

My third choice is 134

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

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

6
  • Thanks for joining the contest! Nov 9, 2016 at 9:15
  • 1
    ✓ numbers punched ✓
    – percusse
    Nov 9, 2016 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.
    – ebosi
    Nov 9, 2016 at 10:17
  • 1
    no worries.. :) just housekeeping
    – percusse
    Nov 9, 2016 at 10:19
  • 1
    It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:47
  • @PauloCereda done! thank you
    – ebosi
    Dec 28, 2016 at 21:20
3
votes

I choose:

093

and

173

and my third number is 094

3
  • ✓ numbers punched ✓
    – Stormvirux
    Nov 12, 2016 at 15:56
  • Thanks for joining the contest! Nov 12, 2016 at 23:34
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:52
2
votes

I chose the following numbers: 77 and 21

3
  • Thanks for joining the contest! Nov 12, 2016 at 23:34
  • 1
    ✓ numbers punched ✓
    – percusse
    Nov 13, 2016 at 20:30
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 14:00
2
votes

I choose:

026

and

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

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

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

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

3
  • 1
    Thanks for joining the contest! Nov 17, 2016 at 0:24
  • 1
    numbers punched
    – gernot
    Nov 20, 2016 at 23:11
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:57
2
votes

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.
3
  • Thanks for joining the contest! Nov 20, 2016 at 9:04
  • 1
    numbers punched
    – gernot
    Nov 20, 2016 at 23:11
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:57
2
votes

I take 115,178:

\person{115,178}{Knut}
3
  • 1
    Numbers punched!
    – Eugene F
    Nov 21, 2016 at 20:43
  • Thanks for joining the contest! Nov 22, 2016 at 8:28
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:57
2
votes

011 and 197

I hope the random algorithm is really random :D

3
  • 1
    Numbers punched!
    – Eugene F
    Nov 21, 2016 at 20:43
  • Thanks for joining the contest! Nov 22, 2016 at 8:28
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 13:57
2
votes

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

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

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).

enter image description here

(punched)

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

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

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

I choose 45 and 70. Good enough for me.

3
  • Thanks for joining the contest! Dec 7, 2016 at 14:45
  • ✓ numbers punched ✓
    – percusse
    Dec 8, 2016 at 15:28
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 14:00
2
votes

I'll chose 102 and 103. Because of reasons

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

Can I get 019 and 078? just because!

3
  • Numbers Punched
    – percusse
    Dec 9, 2016 at 1:36
  • Thanks for joining the contest! Dec 9, 2016 at 8:18
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 14:05
2
votes

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

1
  • It is now possible to pick a third number! Hurry! :) Dec 28, 2016 at 14:06
2
votes

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).

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

110 and 159. Just because. :-)

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

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

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

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .