login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125266 Number of repetitions in A007918. 2
3, 1, 2, 2, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 6, 6, 2, 6, 4, 2, 6, 4, 6, 8, 4, 2, 4, 2, 4, 14, 4, 6, 2, 10, 2, 6, 6, 4, 6, 6, 2, 10, 2, 4, 2, 12, 12, 4, 2, 4, 6, 2, 10, 6, 6, 6, 2, 6, 4, 2, 10, 14, 4, 2, 4, 14, 6, 10, 2, 4, 6, 8, 6, 6, 4, 6, 8, 4, 8, 10, 2, 10, 2, 6, 4, 6, 8, 4, 2, 4, 12, 8, 4, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Except for the first 2 terms, these numbers are always even. Conjecture: the number 2 occurs infinitely often in this sequence.

Essentially the same as A075526 and A054541. - R. J. Mathar, Jun 15 2008

3 together with A001223. - Omar E. Pol, Nov 01 2013

LINKS

Table of n, a(n) for n=1..95.

EXAMPLE

A007918(0) = 2, A007918(1)=2, A007918(2) = 2. So 2 repeats 3 times, giving 3 as the first term in the table.

PROG

(PARI) nextprimerep(n) = { local(x, y, y1, c=0); y1=2; for(x=0, n, y=nextprime(x); if(y==y1, c++, y1=y; print1(c", "); c=1); ) }

CROSSREFS

Cf. A007918.

Sequence in context: A010280 A318556 A292148 * A002016 A282016 A238848

Adjacent sequences:  A125263 A125264 A125265 * A125267 A125268 A125269

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Jan 15 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 16 23:44 EST 2019. Contains 319206 sequences. (Running on oeis4.)