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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073693 Product of next n odd numbers plus 2 is prime. 2
1, 1, 1, 4, 1, 1, 2, 2, 1, 1, 5, 1, 3, 10, 1, 1, 2, 1, 4, 1, 2, 2, 8, 3, 2, 2, 6, 3, 2, 1, 12, 2, 1, 3, 4, 1, 1, 7, 4, 1, 2, 1, 2, 6, 3, 6, 2, 1, 1, 7, 19, 26, 5, 2, 3, 1, 81, 3, 56, 28, 23, 2, 2, 17, 1, 6, 4, 9, 1, 2, 4, 1, 5, 9, 1, 7, 3, 1, 2, 16, 1, 6, 49, 7, 1, 2, 6, 3, 1, 6, 17, 3, 1 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

Group the odd numbers so that the product of the terms in each group + 2 is a prime: (1), (3), (5), (7, 9, 11, 13), (15), (17), (19, 21), (23, 25), (27), (29), ...; sequence gives the number of terms in each group.

PROG

(PARI) o=1:for(k=1, 100, n=1:p=o:while(!isprime(p+2), o=o+2:p=p*o:n=n+1):o=o+2:print1(n", "))

CROSSREFS

Cf. A073691, A073692.

Sequence in context: A016525 A077604 A112985 * A100261 A016526 A030747

Adjacent sequences:  A073690 A073691 A073692 * A073694 A073695 A073696

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 12 2002

EXTENSIONS

Corrected and extended by Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 18 2003

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 20:50 EST 2012. Contains 206085 sequences.