login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034782 Numbers n such that A034693(n) = 3: 3n + 1 is prime, but neither n + 1 nor 2n + 1. 6
24, 32, 34, 64, 76, 80, 92, 94, 104, 110, 122, 124, 132, 144, 152, 154, 182, 202, 206, 214, 220, 236, 242, 244, 246, 252, 274, 286, 294, 302, 322, 332, 340, 344, 356, 362, 364, 374, 376, 390, 412, 416, 434, 474, 482, 484, 494, 496 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000

MATHEMATICA

Position[#, 3] &@ Table[k = 1; While[! PrimeQ[k n + 1], k++]; k, {n, 500}] // Flatten (* Michael De Vlieger, Mar 02 2017 *)

PROG

(PARI) is(n)=!isprime(n+1)&&!isprime(2*n+1)&&isprime(3*n+1) \\ M. F. Hasler, May 13 2018

CROSSREFS

Cf. A034693, A034694.

Sequence in context: A217158 A214227 A064673 * A289554 A102374 A317534

Adjacent sequences:  A034779 A034780 A034781 * A034783 A034784 A034785

KEYWORD

nonn

AUTHOR

Labos Elemer

EXTENSIONS

Corrected by R. J. Mathar, Jul 26 2015

Name edited by M. F. Hasler, May 13 2018

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 23:01 EST 2018. Contains 318081 sequences. (Running on oeis4.)