# Produce the number 2014 without any numbers in your source code

Note to challenge writers as per meta consensus: This question was well-received when it was posted, but challenges like this, asking answerers to Do X without using Y are likely to be poorly received. Try using the sandbox to get feedback on if you want to post a similar challenge.

It's 2017 2018 2019 2020 2021 already, folks, go home.

So, now that it's 2014, it's time for a code question involving the number 2014.

Your task is to make a program that prints the number 2014, without using any of the characters 0123456789 in your code, and independently of any external variables such as the date or time or a random seed.

The shortest code (counting in bytes) to do so in any language in which numbers are valid tokens wins.

• Even though numbers are ignored in brainfuck, I thought I'd post one anyway. 32 Chars: ++++++[>++++++++<-]>++.--.+.+++. Apr 1 '15 at 21:37
• Brainfuck isn't a valid language for this challenge. Apr 1 '15 at 22:49
• I know. That's why I posted it as a comment Apr 1 '15 at 22:51
• I wonder if this question gets a small spike in popularity around New Year's. Dec 26 '15 at 23:28
• Waiting for "Come on folks, don't you realize it's 2016?" :) Jan 4 '16 at 23:35

1
7 8 9 10
11

# MAWP 2.1, 15 bytes

!+!:!!-:!!$:!+: Try it online lol. # Neim, 4 2 bytes χρ Try it online! Push 20, push 14 and print the entire stack # BRASCA, 4 bytes 'ߞn Try it online! ### Explanation 'ߞ - Push the character ߞ (Codepoint 2014) n - Print as number ## Alternative solution, 9 bytes ll+'.E-Sn Try it online! ### Explanation ll+ - 10+10 = 20 '.E- - code point 46-32 = 14 S - Concatenate 20 and 14 n - Print as number • According to Wikipedia, 1 is a number. I don't know how accurate it is, though. Jan 28 at 13:25 • I'm too used to those dang numbers. Jan 28 at 13:36 • It's now fixed. No more stray numbers. Jan 28 at 13:48 ## C, 29 bytes (Emacs) / 40 bytes (VI) Before creating program, execute the shell command stty -ixon ### 11 bytes, with the newline N.B this is required for most terminal editors, but is not required for emacs then write this code: main(){printf("%d",'j'*'^S');} N.B. '^S' is a single XOFF character e.g. in VI use control-V, control-S; in emacs use control-Q, control-S; emacs turns off flow control by default. I assume the comment [You can't type ^S in a Linux terminal] below left off an implied [without the stty command or equivalent e.g. emacs default behavior upon startup], otherwise that comment is inaccurate. And here is the requested hexdump:$ od -a -t x1 x.c
0000000   m   a   i   n   (   )   {   p   r   i   n   t   f   (   "   %
6d  61  69  6e  28  29  7b  70  72  69  6e  74  66  28  22  25
0000020   d   "   ,   '   j   '   *   ' dc3   '   )   ;   }  nl
64  22  2c  27  6a  27  2a  27  13  27  29  3b  7d  0a
• This isn't a valid answer. You have to count the shell command also, since it's a non-standard configuration. Also, if you have unprintables in your code, you should include a hexdump, for extra clarity.
– user45941
Sep 27 '16 at 15:46
• May 21 '17 at 23:37
• There is more than one way to ^Skin a cat, so these comments are incorrect as written; I clarified my post to address the confusion these folks (and others) may be having. It's still 29 if you use emacs as an editor. MD XF: how do you enter your [U+07DE] character into C-source; also, my compiler throws an error when replacing [main()] with [f()] (excluding the obvious gcc -Df=main hack), but if there is a compiler that accepts [f()], then all C source scores drop by 3. So you need to bump your score by 3, or reduce all other C solutions. May 22 '17 at 14:29
1
7 8 9 10
11