Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A075084
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A075084 Number of composite numbers between n and 2n. +0
1
0, 1, 2, 3, 4, 5, 5, 7, 7, 7, 8, 9, 10, 12, 12, 12, 13, 15, 15, 17, 17, 17, 18, 19, 20, 21, 21, 22, 23, 24, 24, 26, 27, 27, 28, 28, 28, 30, 31, 31, 32, 33, 34, 36, 36, 37, 38, 40, 40, 41, 41, 41, 42, 43, 43, 44, 44, 45, 46, 48, 49, 51, 52, 52, 53, 53, 54, 56, 56, 56, 57, 59, 60 (list; graph; listen)
OFFSET

1,3

COMMENT

The number of composite numbers <= n is n less the number of primes less 1.

FORMULA

n - Pi(2n) + Pi(n-1) + 1. The sequence is nondecreasing.

EXAMPLE

a(8) = 7: the composite numbers are 8,9,10,12,14,15 and 16.

MATHEMATICA

Table[n - PrimePi[2n] + PrimePi[n - 1] + 1, {n, 2, 75}]

CROSSREFS

Sequence in context: A134875 A134889 A094802 this_sequence A086593 A073757 A088468

Adjacent sequences: A075081 A075082 A075083 this_sequence A075085 A075086 A075087

KEYWORD

easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 11 2002

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 12 2002

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research