Skip to content
MathWorks

Cody

  • Help Center
  • Cody Problems
  • MathWorks
  • MATLAB Help Center
  • Community
  • Learning
  • Get MATLAB MATLAB
  • Sign In
    • My Account
    • My Community Profile
    • Link License

    • Sign Out
  • Contact MathWorks Support
  • Visit mathworks.com
  • MATLAB Answers
  • File Exchange
  • Cody
  • AI Chat Playground
  • Discussions
  • Contests
  • Blogs
  • More
    • Communities
    • Treasure Hunt
    • People
    • Community Advisors
    • Virtual Badges
    • About
  • Home
  • Problem Groups
  • Problems
  • Players
  • More
    • Solutions
    • Recent Activity
  • Help

Problem 46627. Output the Montgomery Form of the Input Matrix

David Hill
David Hill
31 solvers
3 likes
Solve
Solve Later

Output the Montgomery Form of all the numbers of an input matrix given R and N such that gcd(R,N)=1.
https://en.wikipedia.org/wiki/Montgomery_modular_multiplication
Solve

Solution Stats

80 Solutions

31 Solvers

Last Solution submitted on Dec 28, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers31

Alexander Ross 晨哲 David Charlie

Suggested Problems

  • Find common elements in matrix rows

    2719 Solvers

  • Mandelbrot Numbers

    1781 Solvers

  • Project Euler: Problem 8, Find largest product in a large string of numbers

    1322 Solvers

  • Given a matrix, swap the 2nd & 3rd columns

    1269 Solvers

  • Replace secondary diagonal elements of a square array

    187 Solvers

More from this Author63

  • Optimal Asymmetric Encryption Padding of message for RSA Cryptography

    4 Solvers

  • Minimum, Maximum, and Number of Primitive Roots Modulo (m)

    1 Solvers

  • Determine RSA keys (public and private) given two prime number character strings (p and q)

    18 Solvers

  • Decode Message using AES with Cipher Block Chaining (CBC) and PKCS#5 padding

    1 Solvers

  • Bit Stream conversion to Audio Frequency Shift Key using Bell 202 (Modem)

    3 Solvers

Problem Tags

  • montgomery

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
MathWorksMathWorks

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • (English)
  • (Deutsch)
  • (Français)
  • (简体中文)
  • (English)

You can also select a web site from the following list

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文
    • English
  • 日本 (日本語)
  • 한국 (한국어)

Contact your local office

  • Trust Center
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status
  • Terms of Use
  • Contact Us

© 1994-2026 The MathWorks, Inc.