login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A335233 Numbers m such that m!*i + 1 is composite for i = 1..m. 2
50, 66, 67, 76, 81, 110, 117, 120, 122, 157, 178, 183, 217, 219, 226, 235, 240, 242, 244, 250, 254, 260, 266, 269, 274, 275, 287, 289, 309, 326, 346, 354, 363, 379, 380, 386, 400, 407, 410, 417, 419, 443, 449, 451, 470, 474, 489, 493, 509, 513, 518, 541, 543 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

If m is a term, then A321805(m) = 0.

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..240

MATHEMATICA

Select[Range@ 200, (f = #!; NoneTrue[f*Range[#] + 1, PrimeQ]) &] (* Robert Price, Sep 14 2020 *)

PROG

(Python)

from sympy import isprime

A335233_list, f = [], 1

for k in range(1, 100):

    f *= k

    g = 1

    for i in range(1, k+1):

        g += f

        if isprime(g):

            break

    else:

        A335233_list.append(k)

CROSSREFS

Cf. A321805.

Sequence in context: A007692 A025285 A092541 * A180103 A102803 A224559

Adjacent sequences:  A335230 A335231 A335232 * A335234 A335235 A335236

KEYWORD

nonn

AUTHOR

Chai Wah Wu, Jun 09 2020

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 7 07:28 EST 2021. Contains 349571 sequences. (Running on oeis4.)