This is the sequel to one of my previous challenges, Three-Three-Three!

Write a program (or function, or snippet) that takes no input and produces an output according to the following four Conditions.

Both the program and the output must be written such that:

  1. At least 16 distinct characters appear (since 16 = 4 × 4).
  2. The number of occurrences of each character is a multiple of 4.


  1. The program and the output must not be the same (because programs consisting of a single literal like 1111222233334444 are quite boring).

Finally, the program:

  1. Cannot be written as a string repeated 4 times (e.g. f();f();f();f();, 1234123412341234).

It's ! In anticipation of a multi-way tie for 64 bytes, the first submission whose output also satisfies Condition 4 will be the winner.


  • \$\begingroup\$ So, point 4 is absolute and 3 is optional? I suggest changing the order if that's the case. \$\endgroup\$ Jun 4, 2017 at 10:13
  • \$\begingroup\$ @StewieGriffin Will do. \$\endgroup\$
    – darrylyeo
    Jun 4, 2017 at 10:16
  • \$\begingroup\$ @StewieGriffin In what way is this a duplicate? This challenge imposes more restrictions than its predecessor. \$\endgroup\$
    – darrylyeo
    Jun 4, 2017 at 10:21
  • \$\begingroup\$ My previous answer, and the same answer adapted to the new rules: 'ans====ans ans'%%%%ans==== ' ' \$\endgroup\$ Jun 4, 2017 at 10:23
  • \$\begingroup\$ And the 4th ' and 4th =? \$\endgroup\$
    – darrylyeo
    Jun 4, 2017 at 10:25

1 Answer 1


CJam, 16 bytes


Try it online!


Not the answer you're looking for? Browse other questions tagged or ask your own question.