Skip to main content
deleted 2 characters in body
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114

Neim, 10 9 bytes

A000012ᛄ> 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroesones) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Neim, 10 9 bytes

A000012ᛄ> 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Neim, 10 9 bytes

A000012ᛄ> 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all ones) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

deleted 3 characters in body
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114

Neim, 10 9 bytes

A000012/2ᛄ𝕋A000012ᛄ> 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Neim, 10 9 bytes

A000012/2ᛄ𝕋 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Neim, 10 9 bytes

A000012ᛄ> 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

added 220 characters in body
Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114

Neim, 1010 9 bytes

A000004A000012/ᛄ𝕋2ᛄ𝕋 

A000004Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A000027A007395 (all twos)

Try it online! A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Neim, 10 bytes

A000004/ᛄ𝕋 

A000004 and A000027

Try it online!

Neim, 10 9 bytes

A000012/2ᛄ𝕋 

Explanation:

A Push 42 000012 Push 4 or A007395 Push 7395 ᛄ Modulo 2 > Increment 

A000012 (all zeroes) and A007395 (all twos)

A function that takes the input on the top of the stack and leaves the output on the top of the stack.

Try it online!

Source Link
Okx
  • 16.5k
  • 5
  • 45
  • 114
Loading