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!)
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
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
Sequence in context: A214227 A337055 A064673 * A289554 A334589 A334936
KEYWORD
nonn
AUTHOR
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)