Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110342
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110342 a(1) = 1; a(n) = product of n successive primes beginning with n if n is prime else product of n successive composite numbers beginning with n. +0
1
1, 6, 105, 1728, 85085, 725760, 215656441, 522547200, 27433728000, 1609445376000, 2928046583754721, 2824576634880000, 50774191064678342417, 6327051662131200000, 507067997493657600000, 42593711789467238400000 (list; graph; listen)
OFFSET

1,2

COMMENT

Contains A075068 as a subsequence. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 05 2008

MAPLE

nextNonprime := proc(n) local a; for a from n+1 do if not isprime(a) then RETURN(a) ; fi ; od: end: A110342 := proc(n) local res, cnt, nfac; res := n ; if isprime(n) then nfac := nextprime(n) ; for cnt from 2 to n do res := res*nfac ; nfac := nextprime(nfac) ; od: else nfac := nextNonprime(n) ; for cnt from 2 to n do res := res*nfac ; nfac := nextNonprime(nfac) ; od: fi; RETURN(res) ; end: seq(A110342(n), n=1..30) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 05 2008

CROSSREFS

Sequence in context: A112822 A033589 A077289 this_sequence A126467 A013294 A013300

Adjacent sequences: A110339 A110340 A110341 this_sequence A110343 A110344 A110345

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 20 2005

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 05 2008

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research