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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057017 Product of first n composite numbers minus 1 is a prime. 1
1, 2, 3, 9, 12, 22, 26, 30, 34, 51, 54, 100, 125, 155, 168, 173, 220, 401, 494 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(3) = 3 because 4*6*8-1 = 191 which is prime.

MATHEMATICA

Composite[ n_Integer ] := (k = n + PrimePi[ n ] + 1; While[ k - PrimePi[ k ] - 1 != n, k++ ]; k); Do[ m = n; If[ PrimeQ[ Product[ Composite[ k ], {k, 1, n} ] - 1 ], Print[ n ] ], {n, 1, 1980} ]

CROSSREFS

Cf. A053982.

Sequence in context: A168080 A048084 A067719 * A047162 A155929 A175206

Adjacent sequences:  A057014 A057015 A057016 * A057018 A057019 A057020

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 21 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 18:32 EST 2012. Contains 206071 sequences.