批踢踢實業坊
›
看板
puzzle
關於我們
聯絡資訊
返回看板
作者
tml (流刑人形)
看板
puzzle
標題
ProjectEuler 457 A polynomial modulo the squa
時間
Tue Feb 25 07:20:41 2014
457. A polynomial modulo the square of a prime
http://projecteuler.net/problem=457
令f(n) = n^2 - 3n - 1。 令p為質數。 令R(p)為符合f(n) mod p^2 = 0的最小正整數n、或是0如果n不存在。 令SR(L)為ΣR(p)對所有不超過L的質數p的和。 請求出SR(10^7)。 --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 129.2.129.154