Shiitake

joined 1 year ago
[โ€“] Shiitake@lemmy.world 2 points 1 year ago (1 children)

Waaaait a second.

Does that hold for every base, where the divisor is 1 less than the base?

Specifically hexidecimal - could it be that 5 and 3 have the same "sum digits, get divisibility" property, since 15 (=3*5) is one less than the base number 16?

Like 2D~16~ is16*2+13 = 45, which is divisible by 3 and 5.

Can I make this into a party trick?! "Give me a number in hexidecimal, and I'll tell you if it's divisible by 10."

Am thinking it's 2 steps:

  1. Does it end with a 0, 2, 4, 6, 8, A, C, E? Yes means divisible by 2.
  2. Do the digits add up to a multiple of 5 (ok to subtract 5 liberally while adding)? Skip A and F. For B add 1; C->2, D->3, E->4. If the sum is divisible by 5, then original number is too.

So if 1 and 2 are "yes", it's divisible by 10.

E.g.

  • DEADBAE~16~ (=233495470~10~): (1) ends with E, ok. (2) 3+4+3+1+4=15, divisible by 5. Both are true so yes, divisible by 10.
  • C47444~16~ (=12874820~10~): (1) ends with 4, ok. (2) 2+4+7+4+4+4=25, ok.
  • BEEFFACE~16~ (=3203398350): (1) E, ok. (2) 1+4+4+2+4=15, ok.

Is this actually true? Have I found a new party trick for myself? How would I even know if this is correct?

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

OW!!
Upstoated!

[โ€“] Shiitake@lemmy.world 2 points 1 year ago

Ayy me too
Upcontent!

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

I choose you, Pikachu!
Upchosen!

[โ€“] Shiitake@lemmy.world 2 points 1 year ago

Welcome! I'm also pretty new.
Uproarted!

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

NO! I AM A SIMPLE MAN AND I LIKE THIS MEME
Uproaded!

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

you shall have it
Upkroated!

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

Hold on!!
Upcloated!

[โ€“] Shiitake@lemmy.world 2 points 1 year ago

Hello
Upmoated!

[โ€“] Shiitake@lemmy.world 2 points 1 year ago

Something something upstroated!

[โ€“] Shiitake@lemmy.world 2 points 1 year ago

I don't know but hello!
Upkoded!

[โ€“] Shiitake@lemmy.world 1 points 1 year ago

Oo interesting, I'll have to check that out. Thanks for the tip!
Updotted!

 

Ron Swanson meme where he says "I'm a simple man". He's looking at the camera, in a brown suit, with a sexy mustache and very slight smirk. Background is blurry paintings. Caption says "I'm a simple man" at the top and "I see a reply, I upvote it" at the bottom. End description.

 

Happy Chris Pratt face, with captions "My username is a single word"

view more: next โ€บ