MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xfxnu1/trustmebro384bit/19ropd4lz5wox/
r/ProgrammerHumor • u/w453y • Oct 26 '26
18 comments sorted by
View all comments
Show parent comment
27
It will end on 5 btw and have approx 116 digits not exact but should be close as i did calculation in my head
15 u/fghjconner Oct 26 '26 You're spot on:39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306815 6 u/AdBrave2400 Oct 26 '26 You nailed it 3 u/LostKnight84 Oct 26 '26 Thanks I was estimating an additional digit for every 3-4 powers of 2. I guess I should have went with 2-3. 2 u/48panda Oct 26 '26 3 every 10 is probably the best small approximation 2 u/syedwafihasan Oct 27 '26 What's your thought process for calculating this? 4 u/Fragrant_Minimum1739 Oct 27 '26 For ending it is cyclicity24n+1 ends with 224n+2 ends with 424n+3 ends with 824n ends with 6And then it repeatsAs 384%4 = 0 so it ends with 6Subtract 1 from it now it has 5 as ending digit Now what about no. Of digitsJust use int log(n) +1 formulaSo 384log(2) +1384 * 0.3 +1115+1116
15
You're spot on:
39402006196394479212279040100143613805079739270465446667948293404245721771497210611414266254884915640806627990306815
6
You nailed it
3
Thanks I was estimating an additional digit for every 3-4 powers of 2. I guess I should have went with 2-3.
2 u/48panda Oct 26 '26 3 every 10 is probably the best small approximation
2
3 every 10 is probably the best small approximation
What's your thought process for calculating this?
4 u/Fragrant_Minimum1739 Oct 27 '26 For ending it is cyclicity24n+1 ends with 224n+2 ends with 424n+3 ends with 824n ends with 6And then it repeatsAs 384%4 = 0 so it ends with 6Subtract 1 from it now it has 5 as ending digit Now what about no. Of digitsJust use int log(n) +1 formulaSo 384log(2) +1384 * 0.3 +1115+1116
4
For ending it is cyclicity
24n+1 ends with 2
24n+2 ends with 4
24n+3 ends with 8
24n ends with 6
And then it repeats
As 384%4 = 0 so it ends with 6
Subtract 1 from it now it has 5 as ending digitÂ
Now what about no. Of digits
Just use int log(n) +1 formula
So 384log(2) +1
384 * 0.3 +1
115+1
116
View all comments
Show parent comment
27
u/Fragrant_Minimum1739 Oct 26 '26
It will end on 5 btw and have approx 116 digits not exact but should be close as i did calculation in my head