[go: up one dir, main page]

login
A130439
Even pseudoprimes to base 29.
15
4, 14, 28, 52, 268, 364, 1876, 3484, 5356, 7294, 24388, 66788, 283276, 286492, 339556, 404236, 860692, 1153684, 1381132, 1478764, 1696708, 2073722, 2182726, 2222122, 4922164, 7790146, 8200036, 9679138, 10881052, 14863516, 15476266
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..279 (terms below 10^11; terms 1..121 from Robert G. Wilson v)
Eric Weisstein's World of Mathematics, Fermat Pseudoprime.
MATHEMATICA
Do[ f=PowerMod[ 29, 2n-1, 2n ]; If[ f==1, Print[ 2n ] ], {n, 2, 500000} ]
lst = {}; Do[ If[ PowerMod[17, 2n - 1, 2n] == 1, AppendTo[lst, 2n]], {n, 2, 2^31}]; lst (* Robert G. Wilson v, Jun 01 2007 *)
PROG
(PARI) is(k) = k > 2 && !(k % 2) && Mod(29, k)^(k-1) == 1; \\ Amiram Eldar, Sep 29 2024
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, May 26 2007
EXTENSIONS
More terms from Robert G. Wilson v, Jun 01 2007
STATUS
approved