quarta-feira, 13 de abril de 2022

Como saber se um número é divisível por outro número

Estou com preguiça demais de traduzir e se vocês estão aqui vocês já devem estar acostumados com inglês mesmo então se virem aí:

Obvious:
  • 1 - Always.

  • 2 - If the number is even.

  • 5 - If the number ends in 5 or 0.

  • 10 - If the numbers ends in 0.

Less Obvious:
  • 3 - Add all of the digits in the number. If the result is divisible by 3, then so is the original number. (Note that this rule can be repeated with the result if you still don't know.)

  • 4 - If the last 2 digits of the number are divisible by 4, then so is the entire number. If you don't know then halve the last 2 digits twice. If you still have a whole number then it is divisible by 4.

  • 6 - If the number passes the '2' rule and the '3' rule, then, yes.

  • 8 - If the last 3 digits of the number are divisible by 8, then so is the entire number. If you don't know then halve the last 3 digits three times. If you still have a whole number then it is divisible by 8.

  • 9 - Add all of the digits in the number. If the result is divisible by 9, then so is the original number. (Note that this rule can be repeated with the result if you still don't know.)

Obscure:
  • 7 - Remove the last digit from the number. Take the number formed by the remaining digits and subtract by 2x the removed digit. If the result is divisible by 7, then so is the original number. Example (889): 88-(9x2) = 88-18 = 70 => 889 is divisible by 7.

quarta-feira, 23 de março de 2022

Como construir um cofre com senha usando papelão

Devem existir alguns milhões de coisas melhores pra se fazer com o seu tempo do que construir isso, e é justamente por isso que eu recomendo que seja feito. Pau no cu da eficiência, animais não são feitos pra serem produtivos, pra isso existem as máquinas. Aprenda algo inútil. Faça algo inútil. SEJA algo inútil. Não existe demonstração de rebelião maior que ser um inútil numa sociedade que mede seu valor como pessoa pelo seu nível de produtividade. Melhor do que não ser produtivo, só sendo contra-produtivo. Colocar seu esforço e energia em algo inútil não é procrastinar, é transmitir uma mensagem.   

quarta-feira, 23 de fevereiro de 2022