login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A180640
Primes P such that P < (largest prime factor of (P-1)) * (largest prime factor of (P+1)).
1
2, 3, 5, 11, 13, 23, 29, 37, 43, 47, 59, 61, 67, 73, 83, 103, 107, 113, 131, 137, 139, 149, 157, 167, 173, 179, 193, 211, 223, 227, 229, 233, 263, 269, 277, 281, 283, 293, 311, 313, 317, 331, 347, 353, 359, 367, 373, 383, 389, 397, 409, 421, 439, 443, 457, 467
OFFSET
1,1
EXAMPLE
For n = 3, a(3)=11.
The prime P = 11
P-1 = 10 (largest prime factor of 10 is 5)
P+1 = 12 (largest prime factor of 12 is 3)
11 < 5*3.
MATHEMATICA
Select[Prime[Range[100]], #<(FactorInteger[#-1][[-1, 1]] FactorInteger[#+1][[-1, 1]])&] (* Harvey P. Dale, Feb 22 2011 *)
PROG
(PARI) isok(p) = (p==2) || (isprime(p) && (p < vecmax(factor(p-1)[, 1]) * vecmax(factor(p+1)[, 1]))); \\ Michel Marcus, Oct 29 2022
CROSSREFS
Cf. A180641. See also A103666, A103667.
Sequence in context: A020607 A358719 A235631 * A128425 A175565 A262831
KEYWORD
nonn
AUTHOR
Karl Hovekamp, Sep 14 2010
EXTENSIONS
Initial term, i.e., 2, added by Harvey P. Dale, Feb 22 2011
STATUS
approved