27
\$\begingroup\$

Challenge

This challenge is pretty simple: Output the total number of possible Tweets. Given the fact that \$1{,}114{,}112\$ Unicode characters exist, and Tweets can be up to \$280\$ characters long, we calculate this number like so:

$$\sum_{l=1}^{280}1{,}114{,}112^l$$

Calculated, this number becomes:

13806352273767118967309446652268353719030666987497438863889357319392349204238070937934701588382252733861344864045882375396168022346806583217340072802259387083359555134466517197703380759356965846365156977627360473773588169473731316369188960207815543356617430699549282184606847903882093344681639583363887920162736670339584230464092411246928128751923029979554646202579157612845521194257627831816510188786486205364038342997992390163377307319320795770580125829871827813635107055402218833285288428245530361070090385299410480471800097379723938710176776857154693492888113262310774952935141264656128106489715644469204223123574077687056241600407855644698999923182052787491366956979702291906138690639325270704272468782453957210692358210530379637285511395582363214078004388847219660731573151720107026864311541883029164798133330444260768597550725802772979408391647537342929574104808498797769614795400908507365237326804077132929339660443550229992211585154931729238484097424201567163596712698594520366545693861474171972272416897768579601352059483077847068448856472837079895280084051348757113747847034093121500403990822456362331568718364029903237356710927604336216180583115812490741333484187646966386074557181286407949971654502112671681454373869734610539296783900783568039838348725239932066066987739369537132033298306852573056479318562759091086979441683964087623025801925326064609304055115943692782207092740008073169526779422072953119459819275895282587278291133892079932466034984180041060600579941010427931676118356402267755461169199685582252347150686196242972686980783271232177904787906691872492956841276422272710260778534487171700075108866361285159161816004238666402986057371469198754307817645454320666214400

Rules

  • You may output a float with only zeros after the decimal point.
  • Standard loopholes are forbidden.
  • Trailing whitespace is allowed.
  • If possible, please link to an online interpreter (e.g. TIO) to run your program on.
  • Please explain your answer. This is not necessary, but it makes it easier for others to understand.
  • Languages newer than the question are allowed. This means you could create your own language where the empty program calculates this number, but don't expect any upvotes.
  • This is , so shortest code in bytes wins!
\$\endgroup\$
15
  • 5
    \$\begingroup\$ Not that it matters for the challenge, but the number of tweets is a little less than that. Tweets consisting of only whitespace seem not to be allowed \$\endgroup\$
    – Luis Mendo
    Mar 20, 2021 at 0:51
  • 1
    \$\begingroup\$ I've edited the Mathjax slightly; using commas in the thousands place unfortunately causes a noticeable gap between the "parts" of the integer, so I've removed it. Furthermore, using \$\displaystyle\$ instead of $$...$$ makes it look "off" when viewing on the app/mobile site (at least, it does for me) \$\endgroup\$ Mar 20, 2021 at 3:54
  • 8
    \$\begingroup\$ You cannot use 280 characters and use the full Unicode range. The 280 character limit is for non-CJK languages. \$\endgroup\$
    – Abigail
    Mar 20, 2021 at 15:12
  • 1
    \$\begingroup\$ Just curious, approximately what number is that in word form? I couldn’t get Wolfie to process it \$\endgroup\$ Mar 21, 2021 at 1:26
  • 2
    \$\begingroup\$ @gen-ℤreadytoperish Approximately thirteen point eight tresexagintaquingentillion, if my calculations are correct. \$\endgroup\$
    – Makonede
    Mar 21, 2021 at 18:40

31 Answers 31

54
\$\begingroup\$

Emotion, 17 bytes

😍😃💁🧟🤯😃😧😍😄🤶🙆🙆😬🏃🧛😧🤠

Explanation

😍😃💁🧟 Push literal 280
🤯 Enter an iteration block over the first stack value and push the iteration element register at the begining of each loop.
😃 Push literal 1
😧 Push the sum of the second and first stack values.
😍😄🤶🙆🙆 Push literal 1114112
😬 Swap the top two stack values.
🏃🧛 Push the first stack value to the power of the second stack value.
😧 Push the sum of the second and first stack values.
🤠 Ends a control flow structure.

Try it online!

\$\endgroup\$
8
  • 18
    \$\begingroup\$ This is disgusting. I love it +1 :D \$\endgroup\$ Mar 20, 2021 at 3:55
  • 9
    \$\begingroup\$ Perfect for twitter \$\endgroup\$
    – user100690
    Mar 20, 2021 at 7:24
  • 3
    \$\begingroup\$ @Nordine Lotfi It's 17 bytes. I have hyperlinked the codepage consisting of 256 emoji in my answer. Valid Emotion programs contain only those characters. Each emoji represents one byte. \$\endgroup\$
    – Quantum64
    Mar 22, 2021 at 6:14
  • 1
    \$\begingroup\$ @NordineLotfi Unicode is one code page to rule them all. However Quantum 64's answer is using a different code page where the required emojis only take up 1 byte. I'd suggest reading Joel's post about Unicode and code pages. \$\endgroup\$
    – user95865
    Mar 22, 2021 at 9:52
  • 2
    \$\begingroup\$ @NordineLotfi: Your console seems to be using UTF-8, in which the string is indeed 68 bytes (17 characters of 4 bytes each). But Emotion uses its own character encoding that represents its emojis in a single byte (at the expense of being unable to represent any other characters). \$\endgroup\$
    – dan04
    Mar 22, 2021 at 16:52
19
\$\begingroup\$

Haskell, 25 bytes

div(x^281-x)$x-1
x=8^5*34

Try it online!

Why does it work?

  1. \$8^5\cdot 34=1114112\$, but 1 byte shorter.
  2. \$\sum_{l=1}^n x^l=\frac{x^{n+1}-x}{x-1}\$.

Boring answer, still 25 bytes

sum$map(1114112^)[1..280]
\$\endgroup\$
1
  • 3
    \$\begingroup\$ If anyone is curious about the mathematical proof for (2), look here. \$\endgroup\$ Mar 20, 2021 at 15:13
7
\$\begingroup\$

Ruby, 23 bytes

-1 byte thanks to @Level River St.

Based on the formula presented in @Delfad0r's answer.

x=17<<16
p x**281/~-x-1

Try it online!

Ruby, 24 bytes

An interesting iterative solution. It uses the fact that a + a*a + a*a*a... is equal to a*(1+a*(1+a*(1+...))).

p eval'+1114112*x=1'*280

Try it online!

\$\endgroup\$
2
  • 3
    \$\begingroup\$ For the 2nd answer, x=34<<15 or x=17<<16 is a byte shorter than x=1114112. \$\endgroup\$ Mar 20, 2021 at 10:13
  • 1
    \$\begingroup\$ @Level River St Pretty neat! And it looks like to save a byte in many of the other answers here too. \$\endgroup\$ Mar 20, 2021 at 10:21
7
\$\begingroup\$

Wolfram Language (Mathematica), 21 bytes

Tr[1114112^Range@280]

Try it online!

-1 byte from @GregMartin

\$\endgroup\$
0
6
\$\begingroup\$

C (gcc), 183 181 167 162 161 bytes

-1 byte ceilingcat

c;d;char s[1695],t[1695];x=281;y=1694;main(z){for(t[y-1]=1;--x;)for(z=y;z--;c/=10,d/=10)s[z]=(d+=s[z]+(t[z]=(c+=t[z]*17<<16)%10))%10;for(;y--;s[y]+=48);puts(s);}

Try it online!

\$\endgroup\$
0
5
\$\begingroup\$

JavaScript (Node.js), 33 bytes

f=(n=280n)=>n&&1114112n**n--+f(n)

Try it online!

29 bytes

Porting @Delfad0r's solution saves 4 bytes:

_=>((x=1114112n)**281n-x)/~-x

Try it online!

\$\endgroup\$
1
  • 1
    \$\begingroup\$ _=>(x=1114112n)**281n/~-x-1n \$\endgroup\$
    – l4m2
    Mar 20, 2021 at 0:46
4
\$\begingroup\$

MATL, 14 bytes

16W17*X$280:^s

Try it online!

Explanation

16     % Push 16
W      % 2 raised to that
17     % Push 17
*      % Multiply. Gives 1114112
X$     % Convert to symbolic (to achieve arbitrary precision)
280    % Push 280
:      % Range. Gives [1 2 ... 280]
^      % Power, element-wise
s      % Sum. Implicit display
\$\endgroup\$
1
  • 1
    \$\begingroup\$ This seems to map directly to a 10-byter in 05AB1E (and the currently shortest known 05AB1E answer here is 10 bytes): žH17*Ƶ´LmO - 16WžH, 17*17*, X$, 280Ƶ´, :L, ^m, sO \$\endgroup\$
    – Makonede
    Mar 20, 2021 at 1:03
4
\$\begingroup\$

J, 20 bytes

1#.1114112x^1+i.@280

Try it online!

Wasn't able to improve the straightforward answer.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Does using the equation (from the Haskell answer) instead of a sum help? \$\endgroup\$
    – user
    Mar 21, 2021 at 23:57
  • 2
    \$\begingroup\$ It did play around with it and wasn't able to make it help (even though you save on the numeric representation by 1 or 2 bytes you lose that or more in the rearrangement), but ofc that doesn't mean it's impossible... \$\endgroup\$
    – Jonah
    Mar 22, 2021 at 0:01
4
+50
\$\begingroup\$

Factor, 38 27 bytes

-11 bytes thanks to Bubbler!

1114112 280 [1,b] n^v sum .

Try it online!

\$\endgroup\$
2
4
\$\begingroup\$

Vyxal sr, 9 bytes

⁺∑ƛ»∆#∆»e

Try it Online!

⁺∑        # push 280
  ƛ       # Map foreach (1...280)
   »∆#∆»  # Base-255 compressed 1112114
        e # Exponentiation

The s flag sums the ToS at the end of execution. The r flag reverses the order in which functions take their arguments, so you have \$ 1112114^n\$ instead of \$ n^{1112114} \$.

Vyxal s, 9 bytes

»∆#∆»⁺∑ɾe

Try it Online!

Thanks to Underslash for this

\$\endgroup\$
2
  • 1
    \$\begingroup\$ 10 bytes but it doesn't use -r. \$\endgroup\$
    – Underslash
    May 23, 2021 at 0:29
  • 1
    \$\begingroup\$ @Underslash Thanks! \$\endgroup\$
    – emanresu A
    May 23, 2021 at 0:30
3
\$\begingroup\$

Jelly, 11 10 bytes

⁴‘æ«*Ɱ280S

Try it online!

-1 byte thanks to Arnauld!

How it works

⁴‘æ«*Ɱ280S - Main link. No arguments
⁴          - Yield 16 and set the argument to 16
 ‘         - Increment to 17
  æ«       - Implicitly using the left argument, bitshift left, yielding 1114112
      280  - Yield 280
     Ɱ     - Over each integer 1 ≤ i ≤ 280:
    *      -   Yield 1114112 to the power i
         S - Sum
\$\endgroup\$
5
  • 2
    \$\begingroup\$ Alternate 11 bytes. Sadly just as long. \$\endgroup\$
    – Arnauld
    Mar 20, 2021 at 0:18
  • \$\begingroup\$ Two more \$\endgroup\$ Mar 21, 2021 at 2:43
  • 2
    \$\begingroup\$ @UnrelatedString Those two are the same, and don't produce the correct output \$\endgroup\$ Mar 21, 2021 at 12:13
  • 1
    \$\begingroup\$ @Arnauld Yep, but you can remove the second as the æ« doesn't hook to the *, thanks! \$\endgroup\$ Mar 21, 2021 at 12:14
  • 1
    \$\begingroup\$ I had a second one but got the same link twice! They do both produce the same wrong output, of course. Don't know how I didn't catch that... \$\endgroup\$ Mar 21, 2021 at 13:00
3
\$\begingroup\$

dc, 19

B14112dd281^r-r1-/p

Uses @Delfad0r's sum trick.

Also in dc, B = 11, and B14112 = 1114112.

Try it online!

\$\endgroup\$
3
\$\begingroup\$

05AB1E, 10 bytes

•HYH•Ƶ´LmO

Try it online!

Likely Makonede's answer.

Thanks to Kevin's tip on compressing integers in 05AB1E. Make sure you upvote it!

How it works

•HYH•Ƶ´LmO - Program
•HYH•      - Compressed integer: 1114112
     Ƶ´    - Compressed integer: 280
       L   - Range [1, 2, ..., 280]
        m  - Raise 1114112 to the power of each
         O - Sum
\$\endgroup\$
2
  • \$\begingroup\$ That was one of the three solutions I found. Others: ŽΓH5BƵ´LmO, ŽHH₁*Ƶ´LmO \$\endgroup\$
    – Makonede
    Mar 19, 2021 at 23:26
  • \$\begingroup\$ Another one: žH17*Ƶ´LmO \$\endgroup\$
    – Makonede
    Mar 20, 2021 at 1:00
3
\$\begingroup\$

Pyth, 14 bytes(?)

s^LhC\􏿿S280

Try it here!

Pyth supposedly uses an SBCS, but I can't find any details about its actual codepage.

The reason I have my doubts about the byte count is that the code contains a character with codepoint 1114111, which certainly isn't normally represented in a single byte (and I VERY much doubt is in Pyth's code page). The code is 11 characters long, and Pyth reports the mystery character as taking 4 bytes. However, the interpreter reports a length of 12, and the number 1114111 takes 3 bytes. In short, 11, 12, 13, and 14 are all possible byte counts for this program.

I've chosen 14, as its the most likely (since, again, Pyth says the character is 4 bytes).

\$\endgroup\$
1
  • 1
    \$\begingroup\$ This should be 14 bytes as according to Pyth the character you have used is 4 bytes. \$\endgroup\$ Mar 20, 2021 at 4:26
3
\$\begingroup\$

Bash, 27 bytes

seq -f1114112^%g -s+ 280|bc

Try it online!

\$\endgroup\$
2
\$\begingroup\$

PowerShell, 44 bytes

1..280|%{$k+="[bigint]1114112*"*$_+1|iex};$k

Try it online!

-18 bytes thanks to @ZaelinGoodman

Powershell v7, 37 bytes, thanks to @mazzy

1..280|%{$k+="1114112n*"*$_+1|iex};$k
\$\endgroup\$
2
  • 3
    \$\begingroup\$ You don't need to declare K; it will adopt whatever type is being added to it with += if it is not yet initialized. You also don't need to concatenate the type accelerator with the number, so you can do "[bigint]1114112"*$.... Finally, the addition operator uses the type of whatever is on the left hand, so you do not need to make 1 a string to concatenate it. those changes all together get you down to 44 bytes Try it online! \$\endgroup\$ Mar 20, 2021 at 22:12
  • 2
    \$\begingroup\$ with PS7 you can to use n-suffix also. 1..280|%{$k+="1114112n*"*$_+1|iex};$k \$\endgroup\$
    – mazzy
    Mar 21, 2021 at 5:06
2
\$\begingroup\$

Java (JDK), 101 bytes

v->{var x=java.math.BigInteger.ZERO;for(int i=280;i>0;)x=x.add(x.valueOf(17<<16).pow(i--));return x;}

Try it online!

Credits

  • fix increasing byte count by 1, and 1 byte reduction by iota.
\$\endgroup\$
2
  • 1
    \$\begingroup\$ I believe x should start as BigInteger.ZERO. 101 bytes \$\endgroup\$ Mar 21, 2021 at 3:09
  • 2
    \$\begingroup\$ @iota Oh yes, I started this believing this would be a multiplication somehow and the ONE stayed there... \$\endgroup\$ Mar 21, 2021 at 9:34
2
\$\begingroup\$

Scala, 47 44 bytes

Corrected answer and saved 3 bytes thanks to @mik!

()=>{val x=17<<16:BigInt;x.pow(281)/(x-1)-1}

Try it in Scastie!

Not particularly short, but it uses the simplification of the sum to avoid all the exponentiation + summation, unlike the other answers.

\$\endgroup\$
3
  • 2
    \$\begingroup\$ Your answer is 1 too big. Correct and shorter: ()=>{val x=17<<16:BigInt;x.pow(281)/(x-1)-1}. \$\endgroup\$
    – mik
    Mar 22, 2021 at 13:09
  • 1
    \$\begingroup\$ @mik Oops, didn't see that. And thanks for the golf! \$\endgroup\$
    – user
    Mar 22, 2021 at 13:12
  • 1
    \$\begingroup\$ @mik Welp, that was dumb. Thanks again :) \$\endgroup\$
    – user
    Mar 22, 2021 at 13:40
2
\$\begingroup\$

Icon, 59 49 bytes

  • 10 bytes thanks to mik!
procedure main();write(1114112^281/1114111-1);end

Try it online!

Original solution, 59 bytes:

procedure main()
t:=0
t+:=1114112^(1to 280)&\z
write(t)
end

Try it online!

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Much shorter: procedure main() write(1114112^281/1114111-1) end \$\endgroup\$
    – mik
    Mar 22, 2021 at 12:55
  • 1
    \$\begingroup\$ @mik Thanks! Yes, this approach in much shorter. \$\endgroup\$ Mar 22, 2021 at 12:59
2
\$\begingroup\$

Husk, 14 bytes

ṁ`^1114112ḣ280

Try it online!

I found out that if you run a Husk program that doesn't take an argument, and include an argument, it errors. Here's an example.

Explanation

          ḣ280 # Range from 1 to 280
ṁ              # Map over range and sum...
 `^1114112     # ...114112^n
\$\endgroup\$
2
  • 1
    \$\begingroup\$ yep, adding arguments when there is no input causes type inference problems. That is normal. \$\endgroup\$
    – Razetime
    Mar 26, 2021 at 4:31
  • 1
    \$\begingroup\$ @Razetime I found out because I put the result of ḣ280 in the argument to test it, and instead of removing the argument after I was done, I only cleared it. Then I closed the arguments menu and went back to testing it. \$\endgroup\$
    – PkmnQ
    Mar 28, 2021 at 10:32
2
\$\begingroup\$

Deadfish~, 8398 bytes

{i}dds{i}dsiis{{{i}i}iiii}iiiis{{{{{{ii}iiii}iiiii}iii}i}ddi}dds{{{{{{{{{{{{{i}ddi}di}ddi}dddi}ddi}d}i}iiii}i}ii}dddi}ddi}ds{{{{{{{{{{{{{{{{{{{{{{{{{{i}dd}iiiiiii}d}i}iiiii}ii}}iiii}iiiiii}iiiiiii}d}iiiiii}iiii}iiiiii}i}ddd}iiiii}iiiii}}iiii}iii}iiiiii}iii}d}iii}iiiis{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{i}}ii}ddd}iiiiii}iii}ii}iiii}i}di}ddi}d}i}iiii}dd}iiiii}}iii}d}iiiiii}iii}d}ii}ii}i}dd}ii}i}i}iiii}}ii}d}iii}d}iiii}iiiiii}dd}iiii}d}iiiiii}d}iiiii}ii}ii}iiii}iiii}iiiii}i}i}}i}d}iiiiiis{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{iii}iiiii}dddi}dd}}i}ddd}ii}ii}iiiii}iii}iiiii}i}dddi}dddi}ddd}iiii}i}iiiii}iiiiii}iiii}iiii}ii}ii}ii}iii}iiii}ddi}dd}iiiiii}ii}iiiiii}iiiii}i}iiiiii}}iiiiii}}}iiiiii}iiiiii}d}iiiii}dd}}iiiiii}}iii}dddi}d}iiiii}i}iiiiii}i}d}ii}iiiii}iiii}iii}iiiii}iiiii}d}i}}}iiii}i}i}i}ddi}ddd}i}iiiiii}iiiii}ddd}iii}iiiii}iii}dddi}dd}iiiiii}ddi}ddd}ii}iiiiii}iiiiii}ddd}iiiii}iiiiiii}dd}iiiiii}iiii}iiiii}ddd}iii}dd}i}i}ddd}iiiiii}d}i}di}dd}i}iiis{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{i}dd}i}iii}d}iii}ddi}d}iii}d}iiiiii}iii}iiiii}ddd}iiii}dd}ii}iiii}}iiiiiii}ddd}iiii}iiiiii}i}iii}iiiiii}di}dd}iiiiii}d}iii}iii}iii}iiiiii}iiiiii}d}i}iiiiiii}dd}ii}iii}iiiii}ddi}ddi}d}i}iiii}iiiiii}iiii}iiii}iiiii}ii}ddd}i}iiiiii}ii}iiii}i}iiii}iii}iiiii}iii}di}d}ii}dddi}di}di}dd}iiiii}d}i}iiiiii}iiiii}di}d}}ii}ddi}ddi}ddd}ii}iii}d}i}iii}ddd}}iiiii}iiiiii}ii}}iiiiiii}d}iiii}iiiiii}iii}}iiii}dd}iiii}ddi}dddi}ddi}d}iii}iiii}iiii}ii}iiii}dd}i}}i}ddd}ii}ddd}ii}iiii}dd}iii}i}ii}iii}ii}ii}iiiii}iiiiii}}i}ii}ddd}}iiiii}d}iiiiiii}dddi}ddi}ddd}i}iiiii}iiiii}iiiiii}iii}ddd}}i}d}iiiii}iiiii}i}iii}d}i}iiiii}iiiiiii}d}iii}iii}di}dd}iiiii}iiiii}iii}iiii}dd}iiii}ddi}dd}ii}iiii}iii}iiiii}iiii}dddi}di}ddi}dddi}ddd}iiiiii}dd}ii}iiii}iiiiii}iiii}iiii}}ii}ddi}ddi}dddi}dddi}ddd}iiiiii}iiiiii}iiii}ii}dddi}dd}ii}dd}ii}iii}iiii}iiiiii}ddd}}iiii}ii}dddi}ddd}iii}is{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{iiiii}iiiiii}d}iiii}i}ddd}i}iiii}dd}iii}ddd}ii}i}ddi}dd}iiii}iiiii}iiiiii}ii}iiiii}iiiii}i}d}iiiii}iiii}iiiiii}}iiiii}iiiii}dd}iiii}iiiii}di}dd}iiiii}ddd}iii}di}dd}ii}iii}ii}iiii}iiiiii}}iiiiiii}ddd}}iii}}i}iiiiii}ddd}}iiiii}i}iiiiii}d}ii}ii}iii}dd}ii}iiiii}iiiii}iiiii}ii}iiii}iiiiii}iii}}iiiiii}iiiiii}}iiii}iiiii}iiiii}i}i}d}i}i}i}iiii}ddd}iiiii}iii}ii}iiii}iii}dd}iiiiii}iii}i}iiiii}dd}ii}dd}}ii}iii}ii}iiiiii}iiiiii}i}ii}ddi}d}}ii}i}iiiiii}iiii}iiiiiii}d}iiiii}iiiii}iii}i}dddi}dddi}ddd}iii}d}iiiii}dddi}d}iiiii}iii}ddi}ddi}d}ii}di}ddd}iiii}iiiii}i}dd}ii}iiii}iii}iiiii}ii}iii}dddi}dd}iiiiii}dd}iiii}iiii}ddd}iii}ii}ii}iii}iiiiii}ddd}}iii}iiiiiii}dddi}di}d}iiiiii}d}iii}ddd}ii}iii}}i}iiiiii}}ii}}i}iiii}iii}iiiii}ii}}iiii}iiiiii}i}}iii}iiiiii}}iiii}iii}iii}iiiiii}}iiiii}i}iiiiii}dd}iii}ddd}iii}iiiii}iiiii}iiiii}i}iiiiii}i}di}dddi}d}ii}iii}dd}iiiii}iiiii}iiii}ddd}iii}iii}i}ddi}dd}iiiii}}iii}i}iiii}ii}iii}iiiiiii}dd}iii}ii}i}d}iiiiii}dd}iiii}}iiiiii}d}}ii}iiiiii}i}dddi}ddd}iii}ddi}di}ddd}iii}}ii}iiiiii}ii}d}iiiiiii}d}iiii}iiiiiii}dd}ii}ddd}i}iiiiii}ii}ddd}iii}iiiiii}di}dd}iii}}iiii}ddd}}iiiii}d}iiii}iiiii}ddd}iiii}d}iii}d}iiiii}dddi}d}ii}ii}iiiiii}i}d}iiiii}di}ddd}ii}iiiii}iii}iii}iiii}iiiiii}iiiii}iiiii}iiiiiii}dd}iiii}iiiii}ii}iiiiii}i}iiiiii}dd}}iii}d}iiiiii}i}ii}ii}iiiii}iiii}ddd}}iiiiii}iiiii}iiiiii}ii}iiiiii}iiiii}iii}ii}ddi}ddi}dd}iiiii}i}}ii}iiiii}dd}i}ddi}di}d}ii}dddi}dd}}iiiii}iiii}iiiii}ddi}dd}iiiiii}iiiiii}i}iii}iiii}iiiiii}iiiiii}dd}i}ddd}i}i}di}ddd}ii}i}iiii}ddd}ii}iii}di}dd}ii}iiiiii}iiii}dd}iiii}ii}dd}iiii}d}}ii}di}d}iiiiii}}ii}ii}iiiiiii}di}di}dd}iiiii}iii}i}i}iiiii}d}}iii}iiiiii}iiiiii}iiii}i}d}iii}iii}d}iii}dd}ii}iiiii}di}ddd}}iii}ds{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{iii}iiiii}i}iiii}d}i}ddi}dd}ii}iiiiii}iiii}ddd}}ii}dddi}ddd}iii}iiii}dd}iiiiii}dd}iiiii}iiiii}ii}iiiii}iii}iiii}}iiiii}ii}i}ddd}iiiiii}iiii}iiiiii}iiiiii}iii}ii}iiiii}}iiii}iiiiiii}dd}iiiiiii}dddi}di}dddi}ddd}iiiiii}dddi}ddd}iii}ddd}iii}ddi}ddd}}iiiii}ii}ddd}iiii}iiiiii}ddd}iiiiiii}d}iiiii}iiiii}iii}i}iiiiii}}ii}ddd}iiii}iiiiiii}ddi}di}d}iii}iiii}iiiiii}dd}}i}ddd}iiiii}}}}iiiii}ddd}}i}iiii}dd}iii}iiiii}iiiii}}iiii}ddi}ddd}iii}iiiii}i}iiiii}ii}d}i}ii}iii}iiiiii}d}iiiii}d}iiii}ddd}ii}iiii}ii}}i}}iiiiii}iiiii}}iiiiii}dd}iiii}iiiii}iii}ii}ddi}d}iiiiiii}ddd}iiii}ddi}ddi}di}dd}iii}ii}iii}i}iiiiiii}di}ddd}}ii}ddi}di}d}iiiii}d}}ii}}ii}ii}ii}dd}iiiiii}i}iiiii}dddi}ddd}iii}i}iii}ddi}ddd}iiii}d}i}iiiiii}dd}iiiiiii}dddi}d}iiii}i}iiii}d}i}ii}iii}d}}ii}iii}i}iiiiiii}dddi}ddi}ddd}i}iiiii}iiii}i}iii}iiiii}}iiiiii}d}iiii}}iiiiii}dd}iiii}d}i}iiii}i}ii}iiiiii}i}i}iiiiiii}di}ddd}iiii}iii}}iiii}ddi}di}ddd}iiiii}iii}ddi}dd}iiiiii}iiii}iii}iiii}ddd}iiii}iii}iiiiii}iiii}iiii}d}iiiiiii}ddd}iii}iiii}ddi}di}dd}i}d}iiiiii}iiiii}iiiii}dd}iii}iiii}i}ii}ddd}}iiiiii}dddi}ddd}iii}iiii}iiiiiii}d}iiiii}iiiiii}iii}iii}iiiii}dd}iiiii}iiiii}iiiiii}i}dddi}ddd}iiiiiii}ddd}iiii}ii}i}iii}iii}iiii}iiiii}ii}ii}ii}ddd}ii}iiiiii}di}dd}iiii}dd}iiii}iiiii}iiiiii}iiiii}iiiii}ddi}d}iiii}iiii}ii}iii}i}iiiiii}iii}}i}iiiii}iiii}d}i}iiiiii}iiiii}dddi}dd}iii}iii}di}d}iii}iiiii}dd}i}ddd}iiiiii}iiii}dddi}ddd}}iii}iii}ii}i}ddi}ddd}ii}dd}i}}iiiiii}dd}}iiii}ii}dddi}ddd}i}iii}i}iiiii}ddd}ii}dd}iiii}}i}iiiiii}ii}}iiiiii}dddi}d}ii}ii}iiii}iiiiii}i}ddd}iiiiii}iiiiiii}dd}i}iiiiii}iii}iiiiii}iiii}ddd}iiii}iiiiii}dddi}ddd}iiii}iiii}ii}i}ii}iii}ii}iiiiii}d}iiiiiii}di}ddi}ddi}dddi}dddi}d}iii}dd}iiiiiii}di}dd}iiiiii}iiiii}ddi}di}dd}i}iiiii}iiiiii}}iiiii}d}ii}ii}d}iii}iiii}ddd}iiiiii}i}}i}di}di}d}ii}ddd}ii}iii}dd}iiiiii}iiiii}d}iiiiiii}d}iii}ii}d}ii}iiiii}dd}}iiii}iii}iiii}ddd}iiiiii}iiii}iiiii}iiiii}ii}ii}iiiii}i}ddd}iiiii}iii}ii}iiiii}iii}iiiii}}}iii}iiiiii}}ii}}iiiiii}dd}iiiiii}ii}ii}i}iiiii}di}ddd}iiii}d}iiiiiii}ddi}ddd}iii}ddd}iiiiiii}di}ddd}ii}ddd}iiii}dd}}iii}iiiii}dd}iii}}iiiii}dd}ii}iiiii}}ii}ddd}ii}dd}iiiii}ddd}iiii}dd}i}i}iiiiii}i}i}iiiiii}di}d}iii}iii}iiiii}d}iiiiiii}dd}iii}iiiii}iiiii}di}d}iiiii}ddi}dddi}di}d}ii}i}}iiii}ii}iiiiii}ddd}i}i}iiiiii}iiiii}iii}iiiii}dd}iiiii}i}iiii}iiii}iiiiii}iiii}iii}ii}iiiii}dd}i}}iii}ii}iii}dd}ii}dd}iiiii}iii}iiii}iiiii}ii}d}iiiiiii}dd}iii}ii}ddi}d}iiiiii}d}i}ii}i}dddi}dd}iiiii}i}i}ddi}ddi}ddd}}iiii}ddd}iiii}iiiii}i}ii}ddd}iiiiii}iiii}iii}iiiii}}iiiii}dd}}iii}dd}ii}iiiii}ii}iii}ii}}iiiiii}i}iiii}iiiii}d}iiii}iiii}iiiiiii}ddd}iii}d}iii}ii}iii}iiiiii}i}i}iiiiii}ii}dd}iiiii}iii}ddd}iiii}iii}ii}iiii}iiiii}iiiiii}iiii}iii}i}iii}ddd}i}iiiii}dddi}ddi}ddi}ddd}ii}iiiiii}}i}i}i}iiii}}i}dddi}d}iii}ii}iiiiii}i}}iiiiiii}dddi}dd}i}i}iiiii}}iii}di}dd}iiiii}dd}i}iii}i}iiii}i}i}iiii}d}iii}dd}ii}iiii}ddd}}i}dd}iiiiii}dd}i}ddd}i}iiiiii}iiiii}i}ddi}di}d}i}iiiiiii}dd}iiiii}d}iiiiii}ii}iiiiiii}ddd}iiiiii}d}iii}ddd}iii}i}dd}i}di}dd}iiiiii}ddd}i}iiiiii}ddd}iiiiii}}iii}i}dd}i}ii}ii}d}iiiii}iiiii}ii}ddd}}}}ii}ii}}iii}i}i}}iiii}iiiii}d}ii}iiiiiii}dd}i}ddi}dd}iiiii}i}dd}iiiiii}iiiii}d}iiiii}dd}ii}iiii}ii}i}i}iiiiiii}di}dd}iiiii}ii}iiii}i}iiiiii}iiiiii}iii}ddd}}i}ddd}iiiiiii}d}iiii}iiii}dd}iii}iii}ii}ddd}iiiiiii}ddi}d}i}iiiii}iiiii}di}ddi}dd}}iiii}dd}ii}iiiiiii}dd}}ii}iiiii}d}ii}d}iiiii}iiiii}ddi}ddd}iiiiiii}dd}}iiiiii}ii}i}ddd}iiiii}iiiiii}do

Disclaimer: This crashes TIO. calculates then outputs the number.

Deadfish / Deadfish~, 6536 bytes

iiosdoddddddddoiisiiodddoiiodddoosiiioddddosddodoioddddddooiisdoiodddoioddddodddoiiisodddddooiioododddoosiioiiodddddoiioddosddoddddddoiisodddddddddoiiiodddoiisiioooiiiodododddodsoddodddodosdooddodddosdooioddddddoiioiioddddoddoiisoddddddosodddddddoioiodsodddddddoddoiisoddoiosdoddddddddoiisiiiodddddddoiiisoddddddosddoiioddddddoioiiiodddddddoioisioiiioodddddosdoddddddoosiodddosiiioddddoosdoddodddddoiioioodsdoddoddoddddoiisoioiiiooddddddoiosddoddoddosodddodddddoisiioiioddddddddoiiooioioiioiioddddddddoiisiiodoiiiodddddododoisiiioddddoioddddooiisiiiodddddoisdoddddddddoiioosioddsoddddddosdododddddddoiiisdodddddooiioddsoddddoooddddoiioiooiioododdddoisiiioddddddoiisoddoodddddddoiiioosdoddddddddoiisiiioddoddsoddddddoiioioiiiodddodoiiioddddoiiodddoiiiododdddoisioioiiioddoododdddosiiioddddoiiioddddddoiisoiiioddddosddooddddoiioiiioodddddddoisiioiiiodddddoiiioddddosddoddddoddoiioddoisiiodddoiiioiiioddddddddoiisdooiodddoddddddoiioddoiisiiioiodddddddoisioododooiioioodddddoisiiiodddododddoiisiioiiiooddddododsodddddddoisdoddddddodoiisdoddddoiioddddddoiisiioiioddddoiiioiiodddddddddoiiiosdooddddddoddoiiisoddddddooiooiioiiodddddddoisiiodddosoddddoiiiodddddooiiiodddosdoodoiiodddddddoddoioisiioddddosiiioddddoiiiooiodddddddoiiioosoddddoiiioddddoddoiodddoiisoiioddoddddoiiisodddddddosodddooiosoiioiiiodddddddoisdodddddddoioisdododdoddddoiisodddddddoiodddoiioisooddoiioddddoodoiioddoiioddddoddoiiosioiioiioddddddddoisioiiododddddoioisdoddddoioodddodooiisodddddoddosioiiododdddosiiioiodddddoddoiisdodddddddoisiiododdddodoioiisdoodoioddoddodsdoddoddddoddoiisioddoiiioddoddddoiiiosdodddddoioddoisooddoiioodddddddoiosodddddddddoioisiiodddoosddooddddodddoiisiiioddddoddoiisoddddddododdoiisiiioiioddddoiioodddddddoiisioiiioddddddddoioiosioiiioddddddoisodododdddddoiisdoddddddosiiioiodddddddoiioiiiodddoiioddddodoiisiiiodddddddoiisioododdddoiioodoiisdoodddddoodoisdodddodddoisdooddddoddoisdoddddddosoiooddodddoiiioiiiodddddodoiisiiiodddddddooiiisodddddddddoiiiosdodddodddoisoodddddodddodoiisodsdoddddddddoiisoiiioddddddoiisdoddddddddoooiiisoddoddddosddoiioddodddddoiosoddddddosdododdddddodoioisiiiodoioodoiiodddoiioddddddoisiodoiioiiioddddddoiodsodddddddoisdooodddddddooiiodosiioddddoioddodoiisiiioodddodsoddddodddoisoddddddoiioddddoisodddoiosiioddoiiodoiodddddoioisdodddddddodoiisiioddodsdoioddoddddddoisioioddoooiioiiiodddddddoddoiisoddooioddoioioiioiiodddoddddoiisiiioodoiiododddddddoiisioioddddosodddoisiioddddddooiisoddddoiisiiioiodddooioddooiioiiiodoioooodddddddoioddoiisdoddddddoddoiisiodddosiiioiododddodsoddddddddoiioiiiooiiioddddoioiiioddoiioddodddddddoiiooisoddddddddoiisodddddddddoiisiiodddddoiiosdoddoiiiodddddddddoiisiiodddosoddddddodosiodddosiiiodddddddoiisiiiodddddddoiisoddosiiiodddddosoiioiiodoioddddddosoioddosoddddoiiodddddododoiisiioiiiodddddddoioiioiiioddddddododoiisioddodddoiiiosddoiiodddodddosddodddddoisdodddooddddooiiosoddddooiiioddddddoioiiiodddododoisoddddoiisiiioioddddddddooiisodosdoooddddoiiiodddddodoiisodddooddddddoiisiiioddddoddoisioiioddddoddoisioddddoisiiiodddddoddoiodoiisiiiodddddddoiiosiioiioddoddododdooisiododddoiisdoodddddodddoiioisoddddddddoisiioddoiiioiiododddddddoiioooodddoiisoooddosiioddddddoiisiiiodoiiodddoddsoddoddoodddddoiisiiiodddddosioiiioddddddddoiiosiiioodddddoisoddoiiodddddoddddoiiisdodddddosoddddddddoisiioddoiiioddoddosddoddddoioddoisodddddddoisoddddoiiodddodddodoiisodsdoddddddddoiiisdoddddodsododoiioddoodoiiiodddodddddoisoiiioiioddddododdddooiiisodddddddddoiiisdodddodddddoiisiiioddddoiiiododddoiosddoddddodosiioiioddddddddoiisoddddoiisiiiooddddddoiiodoisodddddddoisoddddddoosodddooddddddoiisoodoiioodddddoiiooisooodddddddoodooisioiiiodddoddddoisiododsoddddddoddoisiiiodddddoisodddddddoiosdoddddodsdoddddoddddoiiisoddodddoddosoddoddoioisioioioddddddoisiiodddoiioddsodddoioddddddoiosiioiiiododddoddsodddddoiodddoddoiiioiiioododoioioiiioddddddosdoddodddddoisoiiiodddodddoisiiioddddddoiisoddodddddoosiiiodddddosodddoisiioiioioddoodoiiodddoiioiiodddoddddddoioiioiiodddoddoiisioddsodddddodsdodddddodddoiisiiiooioddddoiiiodddddddoiisiioiioddddoodsdoodddoioddoiiiodddddoisdodddddosddodddddddoiisiiioiiodoioddddodddoisdoddddddddooiiisdoddddoddddoiisioddddoiioiodsdododdoiioddddddooiiosddodddoiiioioddddoiiiodddddddoiiioioddddoiiisoddddddoddoiodoisiodddddooiisoddddoiiiosoodddddddddoiiisdoddddddoosoioiodddoiiioddddoiooddoisioioiiododdddddoiisdodddddoiiioddoddddoiioisoodddddddddoiiiodoiosddoddddoiioioioddddddodoiiisodddddddosiiiododdddddoiisodooiiioddddodoisiiodddddoiisdoddddddddoiisioiiiodddddoddooisioiiiodddddddoiosodsodddddddddoiisiiiodddodddoiioooiodsdoddddodddoiisdodododdoiioiiiodddoodddosdoddoddddddoiisiiiodddoiooiioddddddoiisdodddddddoioisdoddoddoddddoiisiiioiiodddddodsooddoddddddoisiiododoiodddddoiiodooiosiioioddddddoisiioiiodddddddoisoiododosddoddddosdoddoiiioddoddddoioiiodddddodoiisioddosodddddddoisodddoioiodddddosodddddddddooiisiiioiodddddoiioioiioddddddddoiiiosododddddosdodddddoiodsdododddddosiodddoiosooddddddododdoiisiiooddddddoiisiiooiiiododooddddosoddddddoiiioiiioddddoddosddoddddddoiiododdoiiioodoisododddddodddoiisiioiiodddodddosioiioddddodddoiisioioddoiiioiioddddddoddoiisdodddoioddddosiiioddoddsodddddddddoiiisoddddddddodoiiisdoddoiiioddoiiodddddoodddoisiioiiodddddosodddoddoddddoiiisdodododdddoiodddoiiosioiiioddddddddoioiisodddddddosioddodosiioddddddoiisiioddoiioddddddoiiisoddddddodddoiisoddddoiisiooddddooisioddsodddddodoiiioiiiodddddddosiiioioddddddooddoiisiiiodddddddoiiisodddddddosiiiodddoddddoooiiisdoddddddddoiisiiioddddoddoisiioiiioddddodddosiioiooiiodddddoddooddoiisiiiodddddoisoddddoddoddooiisodddddoioddsododddddddoiisodddddddosiiioddoiiioioddddodddoisdoddddddosioiiiododddddosiiioioddddddoisoddddddddooiioosdoiodddddddoddoiisiiioiiooddddddodosoiiooddddddoiiioiodsododdddodddoiisdoddddddddooiisodddodoiisiioddddddoiisiioddddddooiisioiioiioodddddodddodoiodoiisoddosiiioiioddddddoddoisiioiododddddooiisdodddddoiioioddoddddoiioosiioiooddoodoiiodddddooisiioiiioddddddddoiisoodddoiiodddooiiioddddddoosiodddoioioiiioddddddoisiodddddoiisiioiioddodddddoiisodddoddddosoddoisoddodddddosiioiioddoiiiododdddddddoiisiiioiodddddodosiiioddddddoioiododoisiiiooiiodddddddddoiisoiiioiodoiiodddddddddoiisiiooiiioddddddddoiisdododddddosodsodddddddoisoddddoioiioddddodddoiosiiiododdoddooosiiiodddddosiiioddddddodoiiosiioddddddoiisiiiooiodddoddoioodsdododdddddoisiiioddddddoisiiiodddddddoooiisiiioddoddddodoiiisdooddoodddoiiiodddddoioisdodddoddddoisioddsoddddddddoisiiodddddoiisdodddddddoisiioddddddooiisoddoiosdoddoooddoddddoiioisododdoddddddoiisioiioddddosddoddddddoisoiioiiioddddddddoiisodododdodododddoiisiiioiodddddddoisiiiododdoiodoiododododdoiisiioooddddodoisooddddo

Just does the digits.

Deadfish~, 5965 bytes

iiosdo{d}oiisiiodddoiiodddoosiiioddddosddodoio{d}iooiisdoiodddoioddddodddoiiisodddddooiioododddoosiioiiodddddoiioddosddo{d}ioiiso{d}oiiiodddoiisiioooiiiodododddodsoddodddodosdooddodddosdooioddddddoiioiioddddoddoiisoddddddoso{d}iioioiodso{d}iioddoiisoddoiosdo{d}oiisiiio{d}oiiisoddddddosddoiioddddddoioiiio{d}oioisioiiioodddddosdo{d}iioosiodddosiiioddddoosdoddo{d}ioiioioodsdoddoddo{d}oiisoioiiioo{d}iioiosddoddoddosodddo{d}ioisiioiio{d}oiiooioioiioiio{d}oiisiiodoiiiodddddododoisiiioddddoio{d}ooiisiiiodddddoisdo{d}oiioosioddsoddddddosdodo{d}oiiisdodddddooiioddsoddddoooddddoiioiooiioododdddoisiiio{d}ioiisoddoo{d}oiiioosdo{d}oiisiiioddoddsoddddddoiioioiiiodddodoiiioddddoiiodddoiiiododdddoisioioiiioddoododdddosiiioddddoiiio{d}oiisoiiioddddosddooddddoiioiiioo{d}ioisiioiiiodddddoiiioddddosddoddddoddoiioddoisiiodddoiiioiiio{d}ioiisdooiodddo{d}oiioddoiisiiioio{d}ioisioododooiioioo{d}ioisiiiodddododddoiisiioiiiooddddododso{d}iioisdo{d}iiodoiisdoddddoiio{d}oiisiioiioddddoiiioiio{d}oiiiosdoo{d}iioddoiiisoddddddooiooiioiio{d}ioisiiodddosoddddoiiiodddddooiiiodddosdoodoiio{d}iioddoioisiioddddosiiioddddoiiiooio{d}oiiioosoddddoiiioddddoddoiodddoiisoiioddo{d}oiiiso{d}iiosodddooiosoiioiiio{d}iioisdo{d}ioioisdododdoddddoiiso{d}iioiodddoiioisooddoiioddddoodoiioddoiioddddoddoiiosioiioiio{d}ioisioiiodo{d}ioioisdoddddoioodddodooiisodddddoddosioiiododdddosiiioiodddddoddoiisdo{d}ioisiiododdddodoioiisdoodoioddoddodsdoddoddddoddoiisioddoiiioddo{d}oiiiosdodddddoioddoisooddoiioo{d}iioioso{d}oioisiiodddoosddooddddodddoiisiiioddddoddoiisoddddddododdoiisiiioiioddddoiioo{d}oiisioiiio{d}oioiosioiiio{d}iioisododo{d}ioiisdo{d}iiosiiioio{d}ioiioiiiodddoiioddddodoiisiiio{d}oiisioodo{d}oiioodoiisdoodddddoodoisdodddodddoisdooddddoddoisdo{d}iiosoiooddodddoiiioiiio{d}iodoiisiiio{d}ooiiiso{d}oiiiosdodddodddoisoodddddodddodoiisodsdo{d}oiisoiiio{d}ioiisdo{d}oooiiisoddoddddosddoiioddodddddoiosoddddddosdodo{d}iodoioisiiiodoioodoiiodddoiio{d}ioisiodoiioiiioddddddoiodso{d}iioisdooo{d}iooiiodosiioddddoioddodoiisiiioodddodsoddddodddoisoddddddoiioddddoisodddoiosiioddoiiodoio{d}ioioisdo{d}iodoiisiioddodsdoioddo{d}ioisioioddoooiioiiio{d}iioddoiisoddooioddoioioiioiiodddo{d}oiisiiioodoiiodo{d}oiisioioddddosodddoisiio{d}ooiiso{d}oiisiiioiodddooioddooiioiiiodoioooo{d}iioioddoiisdo{d}iioddoiisiodddosiiioiododddodso{d}ioiioiiiooiiioddddoioiiioddoiioddo{d}oiiooiso{d}ioiiso{d}oiisiio{d}ioiiosdoddoiiio{d}oiisiiodddosoddddddodosiodddosiiio{d}oiisiiio{d}oiisoddosiiiodddddosoiioiiodoio{d}iiosoioddosoddddoiiodddddododoiisiioiiio{d}iioioiioiiio{d}iiododoiisioddodddoiiiosddoiiodddodddosddodddddoisdodddooddddooiiosoddddooiiio{d}iioioiiiodddododoiso{d}oiisiiioio{d}ooiisodosdoooddddoiiiodddddodoiisodddoo{d}oiisiiioddddoddoisioiioddddoddoisioddddoisiiiodddddoddoiodoiisiiio{d}oiiosiioiioddoddododdooisiododddoiisdoodddddodddoiioiso{d}ioisiioddoiiioiiodo{d}ioiioooodddoiisoooddosiio{d}oiisiiiodoiiodddoddsoddoddoo{d}oiisiiiodddddosioiiio{d}oiiosiiioodddddoisoddoiiodddddo{d}oiiisdodddddoso{d}ioisiioddoiiioddoddosddoddddoioddoiso{d}iioisoddddoiiodddodddodoiisodsdo{d}oiiisdoddddodsododoiioddoodoiiiodddo{d}ioisoiiioiioddddodo{d}ooiiiso{d}oiiisdodddo{d}oiisiiioddddoiiiododddoiosddoddddodosiioiio{d}oiiso{d}oiisiiioo{d}ioiiodoiso{d}iioisoddddddoosodddoo{d}oiisoodoiioo{d}oiiooisooo{d}iioodooisioiiiodddoddddoisiododsoddddddoddoisiiiodddddoiso{d}iioiosdoddddodsdoddddo{d}oiiisoddodddoddosoddoddoioisioioio{d}ioisiiodddoiioddsodddoio{d}ioiosiioiiiododddoddsodddddoiodddoddoiiioiiioododoioioiiioddddddosdoddo{d}ioisoiiiodddodddoisiiio{d}ioiisoddodddddoosiiiodddddosodddoisiioiioioddoodoiiodddoiioiiodddo{d}oioiioiiodddoddoiisioddsodddddodsdodddddodddoiisiiiooioddddoiiio{d}oiisiioiioddddoodsdoodddoioddoiiiodddddoisdodddddosddo{d}oiisiiioiiodoioddddodddoisdo{d}ooiiisdoddddo{d}oiisioddddoiioiodsdododdoiio{d}iooiiosddodddoiiioioddddoiiio{d}oiiioio{d}oiiisoddddddoddoiodoisio{d}ooiiso{d}oiiiosoo{d}oiiisdo{d}iioosoioiodddoiiioddddoiooddoisioioiiodo{d}ioiisdodddddoiiioddo{d}oiioisoo{d}oiiiodoiosddoddddoiioioio{d}iodoiiiso{d}iiosiiiodo{d}oiisodooiiioddddodoisiio{d}ioiisdo{d}oiisioiiiodddddoddooisioiiio{d}ioiosodso{d}oiisiiiodddodddoiioooiodsdoddddodddoiisdodododdoiioiiiodddoodddosdoddo{d}oiisiiiodddoiooiio{d}ioiisdo{d}ioioisdoddoddo{d}oiisiiioiiodddddodsooddo{d}ioisiiododoio{d}oiiodooiosiioio{d}ioisiioiio{d}ioisoiododosddoddddosdoddoiiioddoddddoioiio{d}iodoiisioddoso{d}iioisodddoioiodddddoso{d}ooiisiiioiodddddoiioioiio{d}oiiiosododddddosdodddddoiodsdododddddosiodddoiosooddddddododdoiisiioo{d}oiisiiooiiiododooddddosoddddddoiiioiiioddddoddosddo{d}ioiiododdoiiioodoisododddddodddoiisiioiiodddodddosioiioddddodddoiisioioddoiiioiioddddddoddoiisdodddoioddddosiiioddoddso{d}oiiiso{d}iodoiiisdoddoiiioddoiiodddddoodddoisiioiiodddddosodddoddo{d}oiiisdodododdddoiodddoiiosioiiio{d}oioiiso{d}iiosioddodosiio{d}oiisiioddoiio{d}oiiisoddddddodddoiiso{d}oiisiooddddooisioddsodddddodoiiioiiio{d}iiosiiioio{d}iiooddoiisiiio{d}oiiiso{d}iiosiiiodddo{d}oooiiisdo{d}oiisiiioddddoddoisiioiiioddddodddosiioiooiiodddddoddooddoiisiiiodddddoisoddddoddoddooiisodddddoioddsodo{d}ioiiso{d}iiosiiioddoiiioioddddodddoisdo{d}iiosioiiiododddddosiiioio{d}iioiso{d}iooiioosdoio{d}iioddoiisiiioiiooddddddodosoiioo{d}oiiioiodsododdddodddoiisdo{d}ooiisodddodoiisiio{d}oiisiio{d}ooiisioiioiioodddddodddodoiodoiisoddosiiioiioddddddoddoisiioiodo{d}iooiisdodddddoiioioddo{d}oiioosiioiooddoodoiio{d}iooisiioiiio{d}ioiisoodddoiiodddooiiio{d}iioosiodddoioioiiio{d}ioisio{d}oiisiioiioddo{d}ioiisodddoddddosoddoisoddodddddosiioiioddoiiiodo{d}oiisiiioiodddddodosiiio{d}ioioiododoisiiiooiio{d}oiisoiiioiodoiio{d}oiisiiooiiio{d}ioiisdododddddosodso{d}iioisoddddoioiioddddodddoiosiiiododdoddooosiiiodddddosiiio{d}iodoiiosiio{d}oiisiiiooiodddoddoioodsdodo{d}ioisiiio{d}ioisiiio{d}oooiisiiioddoddddodoiiisdooddoodddoiiio{d}ioioisdodddoddddoisioddso{d}ioisiio{d}ioiisdo{d}ioisiio{d}ooiisoddoiosdoddoooddo{d}oiioisododdo{d}oiisioiioddddosddo{d}ioisoiioiiio{d}ioiisodododdodododddoiisiiioio{d}ioisiiiododdoiodoiododododdoiisiioooddddodoisoo{d}o

Also just does the digits.

\$\endgroup\$
1
\$\begingroup\$

Charcoal, 15 bytes

IΣX⍘!<JOγ…¹¦²⁸¹

Try it online! Link is to verbose version of code. Explanation:

    !<JO        Literal string of printable ASCII
   ⍘    γ       Convert from base 95
  X             Vectorised raise to power
         …¹¦²⁸¹ Range from 1 to 280
 Σ              Take the sum
I               Cast to string
                Implicitly print
\$\endgroup\$
1
\$\begingroup\$

Canvas, 12 bytes

-„{“FR]„;^]∑

Try it here!

\$\endgroup\$
1
\$\begingroup\$

Perl 5, 33 bytes

say+(($q=1114112)**281-$q)/($q-1)

Try it online!

\$\endgroup\$
0
1
\$\begingroup\$

Python 3.8, 44 31 30 bytes

Saved 13 bytes thanks to Makonede!!!
Saved a byte thanks to ovs!!!

print((x:=17<<16)**281//~-x-1)

Try it online!

\$\endgroup\$
6
  • 1
    \$\begingroup\$ @Makonede Nice one - thanks! :D \$\endgroup\$
    – Noodle9
    Mar 20, 2021 at 9:52
  • 2
    \$\begingroup\$ You can save a byte with 17<<16 == 1114112 \$\endgroup\$
    – ovs
    Mar 20, 2021 at 10:02
  • 1
    \$\begingroup\$ @ovs Ah, most insightful - thanks! :D \$\endgroup\$
    – Noodle9
    Mar 20, 2021 at 10:07
  • 4
    \$\begingroup\$ This has the same length, but is simpler: print(1114112**281//1114111-1). \$\endgroup\$
    – mik
    Mar 22, 2021 at 11:59
  • 1
    \$\begingroup\$ @mik Interesting, but I'll stick with what I've got thank you. \$\endgroup\$
    – Noodle9
    Mar 22, 2021 at 13:35
1
\$\begingroup\$

cQuents, 14 bytes

#280;1114112^$

Try it online!

Explanation

#280            n = 280
    ;           output sum of first n terms
     1114112^$  each term is 1114112 ^ current index
\$\endgroup\$
1
\$\begingroup\$

Perl 5 -Mbigint, 26 bytes

say 1114112**281/1114111-1

Try it online!

\$\endgroup\$
1
\$\begingroup\$

Perl 6, 30 bytes

say 1114112**281 div 1114111-1

Try it online!

\$\endgroup\$
1
\$\begingroup\$

F# (.NET Core), 60 bytes

printf"%A"(Seq.sumBy(fun i->bigint.Pow(1114112I,i)){1..280})

Try it online!

\$\endgroup\$
1
\$\begingroup\$

PowerShell, 39 36 bytes

Based on the formula presented in @Delfad0r's answer.

[bigint]::Pow(1114112,281)/1114111-1

Try it online!

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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