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!)
A108134 Values of k such that k - 1 and k + 1 are twin primes and 3*k^9 - 1 and 3*k^9 + 1 are also twin primes. 1
4, 270, 37200, 57900, 63690, 80910, 150960, 256470, 367230, 405990, 577980, 641580, 706920, 1479480, 1547880, 1730580, 2026470, 2081160, 2210280, 2374530, 2423040, 2583240, 3090780, 3437220, 3510810, 4140420, 4441530, 4847460 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
270 is in the sequence because 270 - 1 = 269 and 270 + 1 = 271 are twin primes and 3*270^9 - 1 = 22876792454960999999999 and 3*270^9 + 1 = 22876792454961000000001 are also twin primes.
MATHEMATICA
fQ[n_] := Block[{p = n + 1}, PrimeQ[p + 1] && PrimeQ[3p^9 - 1] && PrimeQ[3p^9 + 1]]; Select[ Prime[ Range[408581]], fQ[ # ] &] + 1 (* Robert G. Wilson v, Jun 09 2005 *)
PROG
(Magma) twin:=func<p|IsPrime(p-1) and IsPrime(p+1)>; [k:k in [2..5000000]| twin(k) and twin(3*k^9)]; // Marius A. Burtea, Jan 03 2020
CROSSREFS
Sequence in context: A089667 A119008 A357559 * A221081 A340916 A000320
KEYWORD
nonn
AUTHOR
Ray G. Opao, Jun 05 2005
EXTENSIONS
More terms from Robert G. Wilson v, Jun 09 2005
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 April 27 23:22 EDT 2024. Contains 372020 sequences. (Running on oeis4.)