Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089137
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089137 Primes in the progression (n!- m)/m where n advances by 1 and m resets to 1 upon each prime occurrence. +0
1
5, 23, 59, 719, 5039, 10079, 181439, 907199, 7983359, 479001599, 622702079, 87178291199, 326918591999, 6974263295999, 59281238015999, 1600593426431999, 15205637551103999, 405483668029439999, 5676771352412159999 (list; graph; listen)
OFFSET

1,1

EXAMPLE

n=5,m=1 (5!-1)/1 = 119=7*17 not prime m advances to 2.

n=5,m=2 (5!-2)/2 = 118/2 = 59 prime keep it.

PROGRAM

(PARI) nfactm2d2(n, m) = { for(x=1, n, for(k=1, m, y=floor((x!- k)/k); if(isprime(y), print1(y", "); break) ) ) }

CROSSREFS

Sequence in context: A126420 A116581 A093622 this_sequence A098498 A159241 A106956

Adjacent sequences: A089134 A089135 A089136 this_sequence A089138 A089139 A089140

KEYWORD

base,easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Dec 05 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research