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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218345 Records in A218344. 0
1, 2, 3, 4, 5, 6, 12, 20, 30, 42, 46, 48, 84, 108, 114, 126, 130, 144, 166, 182 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..20.

MATHEMATICA

t = {1}; For[k = 6, k < 100000, k++, If[! PrimeQ[k], Mult = 1; While[! PrimeQ[k*Mult + 1], Mult = Mult + 1]; If[Mult > t[[-1]], AppendTo[t, Mult]]]]; t

CROSSREFS

Cf. A218344.

Sequence in context: A177958 A032941 A273733 * A059460 A125141 A282505

Adjacent sequences:  A218342 A218343 A218344 * A218346 A218347 A218348

KEYWORD

nonn,easy

AUTHOR

William J. Keith, Oct 26 2012

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 June 4 00:49 EDT 2020. Contains 334808 sequences. (Running on oeis4.)