
or jan Tosi; sometimes obnoxious maths, sometimes obnoxious judaism, most of the time a secret third obnoxious thing. she/they on my pronouns till I gender
527 posts
1. It's Always Easier To Work In Modular Arithmetic (finite Addition Table!), So Find The First Primorial
1. it's always easier to work in modular arithmetic (finite addition table!), so find the first primorial that's at least the larger number = 210 = 2*3*5*7
every number up to 210 is uniquely determined by its values mod each of these primes.
156 = 2(mod7),1(mod5),0(mod3),0(mod2)
25 = 4,0,1,1
now to add them you only need pointwise modular addition
2,1,0,0 + 4,0,1,1 = 6,1,1,1
and then just find the smallest number with these modular values = 181
the only edge case is when this system overflows, so in that case you take the smallest number with these values that's also larger than both summands.
2. evaluating multiplication is harder than addition, so we approximate 2*45+15 as 2*(45+15)=2*60. then by distributivity the error is 2*15-15, which is (2-1)*15=1*15. doing this simpler multiplication by hand, we have 1*15=15, so 2*45+15 = 2*60±15. better approximations can be made but this is good enough for most purposes.
3. for division we combine our last two ideas of modular arithmetic and approximations. start with the smallest prime greater than 104 = 107, and note that there is a finite field under addition and multiplication mod 107. so in particular, it has an element 1/8, which we can find easily by noticing that 1/8=(1/2)³. 1/2 is easy to find, since 1 equals 108 mod 107, which is even, and so 1/2 = 54 mod 107. now we compute 54³ mod 107 and get 67. so we take 104*1/8 ≈ 104*67 mod 107 = 13 as a first approximation. now we check 13*8 = 104 (w/o modding!) and we're done! if the numerator weren't divisible by 8 we would've gotten a wrong answer (for example, (105*67)%107=80, 8*80≠105) and in that case we repeatedly subtract 67 (mod 107) from the answer until we have (8*answer+#times we've subtracted 67) = numerator. the answer is the integral division and the number of times we subtracted 67 is the remainder.
hope that helps:)
ok so for personal reasons I need some of the dumbest, goofiest, most elaborate cutting-your-toast-with-a-chainsaw type ways to do elementary school arithmetic problems. the type of stuff we did to that "whats 48+7" poll
my first thought for calculating 104/8 is to convert into base 8, then bitshift one to the right and then convert back but I feel like thats too simple
so, hit me with your best shot at solving the following problems:
whats 156 + 25
what's 2*45 + 15
what's 104/8
-
imalloutofusernamesplsletmein liked this · 1 year ago
-
zlatan-dreams liked this · 1 year ago
-
quailgirlpeep liked this · 1 year ago
-
toomuchcoffeebye liked this · 1 year ago
-
raginrayguns reblogged this · 1 year ago
-
autogeneity reblogged this · 1 year ago
-
autogeneity liked this · 1 year ago
-
kaiasky reblogged this · 1 year ago
-
kaiasky liked this · 1 year ago
-
rkidd liked this · 1 year ago
-
joeshorriblepuns reblogged this · 1 year ago
-
learning-is-underrated liked this · 1 year ago
-
joeshorriblepuns liked this · 1 year ago
-
there-are-45-chameleons reblogged this · 1 year ago
-
there-are-45-chameleons liked this · 1 year ago
-
adaptingant reblogged this · 1 year ago
-
generally-proven reblogged this · 1 year ago
-
generally-proven liked this · 2 years ago
-
devil-do-you-like-drums liked this · 2 years ago
-
comicsymathdude liked this · 2 years ago
-
neo-stellophism liked this · 2 years ago
-
flyingbooks42 reblogged this · 2 years ago
-
flyingbooks42 liked this · 2 years ago
-
emmatization reblogged this · 2 years ago
-
yoneda-emma liked this · 2 years ago
-
dorothytheexplorothy reblogged this · 2 years ago
-
dorothytheexplorothy liked this · 2 years ago
-
math-is-just-tautology liked this · 2 years ago
More Posts from Dorothytheexplorothy
also grothendieck was cool and all but i feel like his work wouldve been a lot more respectable if he didn't insist on writing it in his stupid made up fantasy language. like "catégories abéliennes", "les foncteurs dérivés", "un espace topologique muni d'un faisceau O d'anneaux avec unité", none of these are real fucking words what the fuck are you talking about




Talking to myself out loud like a point and click protagonist
wanna see exactly HOW bad tumblr is at math so tell me