Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085271
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A085271 Difference between n-th composite number and its smallest prime divisor. +0
3
2, 4, 6, 6, 8, 10, 12, 12, 14, 16, 18, 18, 20, 22, 20, 24, 24, 26, 28, 30, 30, 32, 30, 34, 36, 36, 38, 40, 4, 2, 42, 44, 46, 42, 48, 48, 50, 52, 50, 54, 54, 56, 58, 60, 60, 62, 60, 64, 66, 66, 68, 70, 72, 72, 74, 70, 76, 78, 78, 80, 82, 80, 84, 84, 86, 88, 84, 90, 90, 92, 90, 94 (list; graph; listen)
OFFSET

1,1

EXAMPLE

For composite number 91 we have 91-7 = 84

PROGRAM

(PARI) cminusp(n) = { for(x=2, n, forprime(p=2, floor(sqrt(x)), if(x%p==0, print1(x-p, ", "); break); ) ) }

CROSSREFS

Cf. A085273.

Sequence in context: A050827 A082990 A099188 this_sequence A003972 A023853 A056526

Adjacent sequences: A085268 A085269 A085270 this_sequence A085272 A085273 A085274

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 12 2003

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 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research