Mathematica基础——ChineseRemainder

 时间:2024-10-31 04:08:05

1、求模9余7的最小正整数:ChineseRemainder[{7},{9}]答案当然是7。

Mathematica基础——ChineseRemainder

2、求模9余7,且模7余3的最小正整数:ChineseRemainder[{3, 7}, {7,9}]

Mathematica基础——ChineseRemainder

3、求除以 9、8、7 的余数为8、7、6 的最小正整数:ChineseRemainder[{8,7,6}, {9,8,7}]

Mathematica基础——ChineseRemainder

4、上面问题还可以用另一种方法来写:ChineseRemainder[{-1,-1,-1}, {9,8,7}]

Mathematica基础——ChineseRemainder

5、一种数据加密的方法:数据= {931074546, 117172357, 482333642, 199386034, 394354985}随机密钥 = Ra荏鱿胫协ndomPrime[{10^9, 10^12}, 5]加密后的数据 = ChineseRemainder[数据,随机密钥]解密=Mod[加密后的数据, 随机密钥]

Mathematica基础——ChineseRemainder
  • 怎么查批量查询新加坡邮政
  • 利用手机理财软件理财要注意些什么
  • 1克拉钻石价格多少
  • 交流JWSL-3系列经济型温湿度变送器使用说明书
  • 热门搜索
    闭关是什么意思 通感是什么意思 凉凉是什么意思 貔貅适合什么生肖人戴 梦见厕所是什么意思 朋友过生日送什么礼物好 cp是什么意思网络用语 jump是什么意思 电脑花屏是什么原因 声母是什么