News:

Welcome to the Text Based Games Forums!

Main Menu

Four 4's

Started by PkmnQ, Oct 12, 2021, 09:17:41 PM

Previous topic - Next topic

PkmnQ

Basically, you have four 4's, and you need to do math with them to get to your post ID. Here are the standard allowed operations:

m + n (Addition)
m - n (Subtraction)
-n (Negation)
m * n (Multiplication)
m / n (Division)
m ^ n (Exponentiation)
sqrt(n) (Square root)
n! (Factorial)

You are also allowed to do things like 44, .4, 4.4, etc. You're even allowed to use .4̅ (or .(4) for a more ASCII-friendly representation). But they take the same amount of 4's as their representation.

However, to mix things up, here are some extra operations:

m ^^ n (Tetration)
!n (Subfactorial)
m % n (Modulo)

Here are some easy examples:
4 + 4 + 4 + 4 = 16
(4 + 4 + 4) * 4 = 48
sqrt((4 - 4 - 4)/4) = i
(4 - 4) / (4 - 4) = indeterminate
And here are some less easy examples:
(!!4 % 44) / 4 = 30
(!(4!) % (4! ^ !4)) % !!4 = 103705
!44 % !(4 * 4) = 5846821604119
Now I could go with the easy way, but I'll do this instead:
((4 ^ 4) % !4) / 4 = (256 % 9) / 4 = 4 / 4 = 1

redgreenandblue

★   ★   ★

PkmnQ

(!4 + !4 + !4) % 4 = 3

Byron_Inc_TBG

Hey I actually had a book where I do this

(4! - 4 * 4) / sqrt(4) = 4
bomb

Gilbert189

#5
44 % 4 + 4 = 4
(ninja aaaa)
4! / 4 - (4 / 4) = 5
As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

Byron_Inc_TBG

4 / sqrt(4) + sqrt(4) + sqrt(4) = 6
bomb

Gilbert189

As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

Byron_Inc_TBG

bomb

the2000


Gilbert189

As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

PkmnQ

(44 / 4) * !sqrt(4)

Gilbert189

As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

PkmnQ


Gilbert189

As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

CST1229


redgreenandblue

★   ★   ★

PkmnQ

!sqrt(4) + sqrt(!4) + !4 + 4

Byron_Inc_TBG

4 × 4 + 4 / sqrt(4)
bomb

the2000


CST1229

4*4+sqrt(4)+sqrt(4)

PkmnQ

sqrt(!4) * (!4 - !sqrt(4) - !sqrt(4))

solitaire

4 x 4 + 4 + sqrt(4)
stay hydrated! :D

   

Gilbert189

4! - sqrt(4) ^ sqrt(4) / 4
As much as I want to be a liquid shapeshifter in real life, such beings are sadly fictional, fit only as profile pictures...
S++ R- G- A B* SMF++ I+ a FB++ AD- P+++ U+ W+ PI 60++/+ L-- EN+ e s TC++ (very disappointing, I know) t-
(tbgcode 2025-03-10)
Some of my esolangs I made: redirected here
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton
OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics
give me internets herehttps://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/

PkmnQ

4! + (4 * (4 - 4))

Byron_Inc_TBG

(4 + (4 / 4)) ^ sqrt(4)

OR

4! + (4 / sqrt(4)) / sqrt(4)
bomb