Constant ratio when dividing repeating digit patterns by each other

  • Context: Undergrad 
  • Thread starter Thread starter androol
  • Start date Start date
  • Tags Tags
    Calculator
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
androol
Messages
9
Reaction score
0
like many people have done with their calculators, I was dividing 987654321 by 123456789. and I realized...

sum(0 to N) 987654321 * 10^(N*j)
divided by
sum(0 to N) 123456789 * 10^(N*j)

where N can be any positive integer and j is in the real domain, there is a constant.


Am I weird and stupid?
 
Mathematics news on Phys.org
sum(0 to N) 987654321 * 10^(N*j) = 987654321 * sum(0 to N) 10^(N*j)
sum(0 to N) 123456789 * 10^(N*j) = 123456789 * sum(0 to N) 10^(N*j)
so their quotient is indeed constant.

I ended up not needing this: For N a positive integer, sum (j=0,N,10^(N*j)) = (10^(N^2+N)-1)/(10^N - 1).
 
omg omg I'm like so stup.

something times (thing/thing) = something.

how can I be so stupid...