Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117735
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117735 Difference of n! and A034386: Factorial and Primorial. +0
1
0, 0, 0, 0, 18, 90, 690, 4830, 40110, 362670, 3628590, 39914490, 478999290, 6226990770, 87178261170, 1307674337970, 20922789857970, 355687427585490, 6402373705217490, 121645100399132310, 2432902008166940310 (list; graph; listen)
OFFSET

0,5

FORMULA

a(n) =n!-A034386[n]

MATHEMATICA

f[n_] := If[PrimeQ[n] == True, 1, n] cf[0] = 1; cf[n_Integer?Positive] := cf[n] = f[n]*cf[n - 1] g[n_] := If[PrimeQ[n] == True, n, 1] p[0] = 1; p[n_Integer?Positive] := p[n] = g[n]*p[n - 1] Table[n! - p[n], {n, 0, 20}]

CROSSREFS

Cf. A034386, A117683.

Sequence in context: A063788 A066854 A059138 this_sequence A041624 A034725 A047929

Adjacent sequences: A117732 A117733 A117734 this_sequence A117736 A117737 A117738

KEYWORD

nonn,uned,probation

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Apr 14 2006

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research