login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A366867 Products of sexy prime triples: sphenic numbers with prime factorization (p - 6)*p*(p + 6). 1
935, 1729, 4301, 11339, 49321, 102131, 146969, 298351, 386389, 1089019, 1221191, 3864241, 5171489, 12640949, 16965341, 18181979, 21243961, 43974269, 51881689, 178433279, 208506509, 223626691, 230324329, 270816731, 278421569, 393806449, 849244031, 932539661 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = (A006489(n) - 6)*A006489(n)*(A006489(n) + 6).
EXAMPLE
5, 11, and 17 are primes p, p+6, p+12, called a sexy prime triple. 5*11*17 = 935, so 935 is a term.
7, 13, and 19 are the second set of sexy prime triples. 7*13*19=1729, so 1729 is the second term.
MATHEMATICA
(#*(#^2 - 36)) & /@ Select[Prime[Range[180]], PrimeQ[# - 6] && PrimeQ[# + 6] &] (* Amiram Eldar, Oct 27 2023 *)
PROG
(PARI) apply(x->x*(x-6)*(x+6), select(x->(isprime(x-6) && isprime(x) && isprime(x+6)), [1..1000])) \\ Michel Marcus, Oct 27 2023
CROSSREFS
Cf. A006489, A111192. Subsequence of A007304.
Sequence in context: A347852 A171348 A232380 * A292571 A029570 A278186
KEYWORD
nonn
AUTHOR
Matthew Goers, Oct 25 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 23:49 EDT 2024. Contains 372257 sequences. (Running on oeis4.)