Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135732
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135732 Distances to next prime associated with A135731. +0
2
2, 1, 3, 1, 3, 1, 3, 5, 1, 5, 3, 1, 3, 5, 5, 1, 5, 3, 1, 5, 3, 5, 7, 3, 1, 3, 1, 3, 13, 3, 5, 1, 9, 1, 5, 5, 3, 5, 5, 1, 9, 1, 3, 1, 11, 11, 3, 1, 3, 5, 1, 9, 5, 5, 5, 1, 5, 3, 1, 9, 13, 3, 1, 3, 13, 5, 9, 1, 3, 5, 7, 5, 5, 3, 5, 7, 3, 7, 9, 1, 9, 1, 5, 3, 5, 7, 3, 1, 3, 11, 7, 3, 7, 3, 5, 11 (list; graph; listen)
OFFSET

1,1

COMMENT

Essentially the same as A046933. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 28 2008]

FORMULA

Beginning with prime=2, the first n after 2 is 3 and from n=3 to next prime >n is 5, with distance from 3 to 5=2. Next n after prime=5 is 6, so that distance to next prime 7 = 1.

EXAMPLE

a(2)=3 because when n=8 (8 is next n after prime 7), next prime is 11 and distance is 3

CROSSREFS

Cf. A135731.

Sequence in context: A109704 A073407 A049994 this_sequence A084360 A082460 A029227

Adjacent sequences: A135729 A135730 A135731 this_sequence A135733 A135734 A135735

KEYWORD

easy,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Nov 26 2007

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research