Skip to main content
added 1636 characters in body
Source Link
Phlarx
  • 1.6k
  • 11
  • 10

Chip, 67 bytes, cracked by Yimin Rong

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.


Alternate sequence is A060843. Try it online for inputs 1..4.

Yimin Rong hunched right, such a short Chip program can only calculate very simple things. The original sequence is all one's, and the alternate sequence is the busy beaver numbers, of which only 4 are known.

These numbers, 1, 6, 21, 107, are simply hard-coded for the inputs 1..4.

One interesting thing about using Chip for this challenge is that the digits 0-9 are not numbers, but logical elements. Specifically, 0-7 are the eight bits addressing the head of the stack, and 8 and 9 are the read and write toggles. That made this a bit more interesting and much more obfuscated.

A potential giveaway is that only A-D appear, meaning that we only have 4 bits for indexing the sequence. This meant that there could be at most 16 different values. In fact, only A-C are actually used for the alternate sequence, giving at most 8 different values.

For any who might be interested, here is the same code, stripped of the no-ops and unused elements:

.

 B *C 49! A000012d ,z s b-\6/e 1Zv-~^S `3a`-cf3g`8taz1 

Chip, 67 bytes, cracked by Yimin Rong

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Chip, 67 bytes, cracked by Yimin Rong

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.


Alternate sequence is A060843. Try it online for inputs 1..4.

Yimin Rong hunched right, such a short Chip program can only calculate very simple things. The original sequence is all one's, and the alternate sequence is the busy beaver numbers, of which only 4 are known.

These numbers, 1, 6, 21, 107, are simply hard-coded for the inputs 1..4.

One interesting thing about using Chip for this challenge is that the digits 0-9 are not numbers, but logical elements. Specifically, 0-7 are the eight bits addressing the head of the stack, and 8 and 9 are the read and write toggles. That made this a bit more interesting and much more obfuscated.

A potential giveaway is that only A-D appear, meaning that we only have 4 bits for indexing the sequence. This meant that there could be at most 16 different values. In fact, only A-C are actually used for the alternate sequence, giving at most 8 different values.

For any who might be interested, here is the same code, stripped of the no-ops and unused elements:

.

 B *C 49! A000012d ,z s b-\6/e 1Zv-~^S `3a`-cf3g`8taz1 
added 87 characters in body
Source Link
Phlarx
  • 1.6k
  • 11
  • 10

Chip, 67 bytes, cracked by Yimin Rong

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Chip, 67 bytes

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Chip, 67 bytes, cracked by Yimin Rong

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

added 5 characters in body
Source Link
Phlarx
  • 1.6k
  • 11
  • 10

Chip, 67 bytes

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Chip, 67 bytes

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Chip, 67 bytes

2D5B#{*Cm49!}E-7 (A000012d#,zkmsh b-\6/e2)[1Zv^~^S 33a#kcf3g88taz1@ 

A000012. A bit cheeky, yes.

Try it online!

Uses bytes for i/o, so I was nice and built a bashy/pythony wrapper.

Source Link
Phlarx
  • 1.6k
  • 11
  • 10
Loading