Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102614
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102614 Denominators of the reduced fractions of the ratios of the number of primes less than n over the number of composites less than n. +0
1
1, 1, 1, 1, 2, 1, 3, 1, 5, 3, 6, 7, 7, 4, 3, 5, 10, 11, 11, 3, 13, 7, 14, 5, 16, 17, 2, 19, 19, 2, 20, 21, 2, 23, 24, 25, 25, 13, 9, 7, 28, 29, 29, 15, 31, 16, 32, 11, 34, 7, 12, 37, 37, 19, 39, 5, 41, 21, 42, 43, 43, 22, 5, 23, 47, 8, 48, 49, 50, 51, 51, 13, 52, 53, 18, 55, 8, 19, 57, 29 (list; graph; listen)
OFFSET

1,5

FORMULA

pi(n) is the number of primes <= n. Number of composites <= n = n - pi(n).

PROGRAM

(PARI) pixovcmpx(n) = for(x=1, n, print1(denominator(pi(x)/(x-pi(x)))", ")) pi(n) = \Number of primes less than or equal to n. { local(c, x); c=0; forprime(x=1, n, c++); return(c) }

CROSSREFS

Sequence in context: A154279 A065370 A147783 this_sequence A078657 A080959 A065548

Adjacent sequences: A102611 A102612 A102613 this_sequence A102615 A102616 A102617

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 30 2005

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 December 16 13:01 EST 2009. Contains 170825 sequences.


AT&T Labs Research