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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067393 Number of nonprimes among the numbers in {1,2,3,...,n!} which are relatively prime to n!. 0
1, 1, 1, 1, 1, 5, 67, 481, 4989, 51979, 570755, 5865449, 74226518, 904772855, 13111019601, 202135743076, 3307158697867, 53256981940267, 974755766640247, 17629139875485487 (list; graph; refs; listen; history; internal format)
OFFSET

0,6

FORMULA

a(n)=phi(n!)-pi(n!)+pi(n)= A000010(n!)-A000720(n!)+A000720(n).

EXAMPLE

For n=5, n!=120, a(5)=phi(120)-pi(120)+pi(5)=32-30+3=5; the 5 nonprimes are 1,49,77,91,119.

MATHEMATICA

a[n_] := EulerPhi[ n! ]-PrimePi[ n! ]+PrimePi[n]

CROSSREFS

Cf. A000142, A000720, A003604, A000010, A048855.

Sequence in context: A059852 A057171 A142009 * A113265 A124435 A123034

Adjacent sequences:  A067390 A067391 A067392 * A067394 A067395 A067396

KEYWORD

more,nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jan 22 2002

EXTENSIONS

a(18)-a(19) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Mar 24 2011

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 02:31 EST 2012. Contains 205978 sequences.