Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162154
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162154 Odd terms are the amount of consecutive prime numbers until a composite, even terms are the amount of consecutive composite numbers until a prime. +0
1
2, 1, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 5, 1, 1, 1, 5, 1, 3, 1, 1, 1, 3, 1, 5, 1, 5, 1, 1, 1, 5, 1, 3, 1, 1, 1, 5, 1, 3, 1, 5, 1, 7, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 13, 1, 3, 1, 5, 1, 1, 1, 9, 1, 1, 1, 5, 1, 5, 1, 3, 1, 5, 1, 5, 1, 1, 1, 9, 1, 1, 1, 3, 1, 1, 1, 11, 1, 11, 1, 3, 1, 1, 1, 3, 1, 5, 1, 1, 1, 9 (list; graph; listen)
OFFSET

1,1

COMMENT

a(1)=2 because there are two consecutive primes(2 and 3), a(2)=1 (4), a(6)=3 (8,9,10)

FORMULA

a(2n)=A046933(n+1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 27 2009]

CROSSREFS

Sequence in context: A137773 A107454 A063669 this_sequence A134505 A076933 A071974

Adjacent sequences: A162151 A162152 A162153 this_sequence A162155 A162156 A162157

KEYWORD

nonn

AUTHOR

Claudio L Meller (claudiomeller(AT)gmail.com), Jun 26 2009

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