You are not logged in. Please login at to post your questions!


feb long challenge guess it right problem

In the problem statement it is given than P/Q, where P and Q are coprime positive integers. You should compute P⋅Q−1 modulo 10^9+7, where Q−1 denotes the multiplicative inverse of Q modulo 10^9+7. But then how can for 1/5 the answer becomes 400000003.

asked 08 Feb, 22:07

ivand10's gravatar image

accept rate: 0%

multiplicative inverse of 5 modulo $10^9+7$ is 400000003

(08 Feb, 22:46) vichitr5★
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 08 Feb, 22:07

question was seen: 448 times

last updated: 09 Feb, 22:09