Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A053543
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A053543 Distance to closest prime in sequence of composites. +0
1
1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 2, 1, 1, 1, 2, 3, 2, 1, 1, 2, 1, 1, 1, 2, 3, 2, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 1 (list; graph; listen)
OFFSET

1,4

FORMULA

Beginning at 2, list consecutive numbers. Measure distance of each composite to nearest prime.

EXAMPLE

Fourth composite number is 9; distance to nearest prime, 7 or 11, is 2, so a(4) = 2.

CROSSREFS

Sequence in context: A161101 A115362 A161100 this_sequence A161099 A118663 A102097

Adjacent sequences: A053540 A053541 A053542 this_sequence A053544 A053545 A053546

KEYWORD

easy,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Jan 16 2000

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 4 12:48 EST 2009. Contains 170310 sequences.


AT&T Labs Research