|
Search: id:A074477
|
|
|
| A074477 |
|
Largest prime factor of 3^n - 1. |
|
+0 3
|
|
| 2, 2, 13, 5, 11, 13, 1093, 41, 757, 61, 3851, 73, 797161, 1093, 4561, 193, 34511, 757, 363889, 1181, 368089, 3851, 1001523179, 6481, 391151, 797161, 8209, 16493, 20381027, 4561, 4404047, 21523361, 2413941289, 34511, 2664097031, 530713
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
S. S. Wagstaff, Jr., The Cunningham Project
|
|
EXAMPLE
|
3^7 - 1 = 2186 = 2*1093, so a(7) = 1093.
|
|
PROGRAM
|
(PARI) for(n=1, 40, v=factor(3^n-1); print1(v[matsize(v)[1], 1], ", "))
|
|
CROSSREFS
|
Cf. A074476 (largest prime factor of 3^n + 1), A005420 (largest prime factor of 2^n - 1), A074479 (largest prime factor of 5^n - 1).
Sequence in context: A032152 A032057 A130718 this_sequence A141575 A151352 A155915
Adjacent sequences: A074474 A074475 A074476 this_sequence A074478 A074479 A074480
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 23 2002
|
|
|
Search completed in 0.002 seconds
|