[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A373819 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Run-lengths (differing by 0) of the run-lengths (differing by 2) of the odd primes.
(history; published version)
#9 by Michael De Vlieger at Sat Jun 22 14:08:57 EDT 2024
STATUS

proposed

approved

#8 by Gus Wiseman at Sat Jun 22 14:05:47 EDT 2024
STATUS

editing

proposed

#7 by Gus Wiseman at Sat Jun 22 14:05:42 EDT 2024
#6 by Gus Wiseman at Sat Jun 22 13:50:07 EDT 2024
#5 by Gus Wiseman at Sat Jun 22 13:47:23 EDT 2024
COMMENTS

Run-lengths of A251092.

EXAMPLE

The runs of odd primes differing by 2 begin:

3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, ...

with runs:

with lengths:

with lengths 3, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, ..., which have runs beginning:

which have runs beginning:

CROSSREFS

For antiruns we have A373820, run-lengths of A027833 (partial sums A029707if we prepend 1).

A005117 lists the squarefree numbers, first differences A076259.

For prime runs see: A001359, A006512, A025584, A067774, A373405, A373406.

For composite runs see: A005381, A006093, A008864, A054265, A068780, A176246, A373403, A373404.

Cf. A005117, A006560, A006562, A029707, A037201, A038664, ~A061398, `A069010, `A073051, `A122535, ~A371201A076259.

#4 by Gus Wiseman at Thu Jun 20 17:26:34 EDT 2024
#3 by Gus Wiseman at Thu Jun 20 17:02:53 EDT 2024
CROSSREFS

Differences of consecutive primes are A001223, run-lengths A333254, run-lengths of run-lengths A373821.

A000040 lists the primes, differences A001223.

A001223 gives differences of consecutive primes, run-lengths A333254, run-lengths of run-lengths A373821.

For prime runs see : A001359, A006512, A025584, A067774, A373405, A373406.

For composite runs see : A005381, A006093, A008864, A054265, A068780, A176246, A373403, A373404.

#2 by Gus Wiseman at Thu Jun 20 16:58:01 EDT 2024
NAME

allocated for Gus WisemanRun-lengths (differing by 0) of the run-lengths (differing by 2) of the odd primes.

DATA

1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 4, 2, 3, 2, 4, 3, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 3, 1, 10, 2, 4, 1, 7, 1, 4, 1, 3, 1, 2, 1, 1, 1, 2, 1, 18, 3, 2, 1, 2, 1, 17, 2, 1, 2, 2, 1, 6, 1, 9, 1, 3, 1, 1, 1, 1, 1, 1, 1, 8, 1, 3, 1, 2, 2, 15, 1, 1, 1, 4, 1, 1, 1, 1, 1, 7, 1

OFFSET

1,2

LINKS

Gus Wiseman, <a href="/A373403/a373403.txt">Four statistics for runs and antiruns of prime, nonprime, squarefree, and nonsquarefree numbers</a>.

EXAMPLE

The runs of odd primes differing by 2 begin:

3 5 7

11 13

17 19

23

29 31

37

41 43

47

53

59 61

67

71 73

with lengths 3, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, ..., which have runs beginning:

3

2 2

1

2

1

2

1 1

2

1

2

1 1 1 1

2 2

1 1 1

with lengths a(n).

MATHEMATICA

Length/@Split[Length/@Split[Select[Range[3, 1000], PrimeQ], #1+2==#2&]//Most]//Most

CROSSREFS

Differences of consecutive primes are A001223, run-lengths A333254, run-lengths of run-lengths A373821.

Run-lengths of A251092.

For antiruns we have A373820, run-lengths of A027833 (partial sums A029707).

Positions of first appearances are A373825, sorted A373824.

A000040 lists the primes, differences A001223.

A005117 lists the squarefree numbers, first differences A076259.

A046933 counts composite numbers between primes.

A065855 counts composite numbers up to n.

A071148 gives partial sums of odd primes.

For prime runs see A001359, A006512, A025584, A067774, A373405, A373406.

For composite runs see A005381, A006093, A008864, A054265, A068780, A176246, A373403, A373404.

Cf. A006560, A006562, A037201, A038664, ~A061398, `A069010, `A073051, ~A112925, ~A112926, `A122535, ~A174965, ~A350842, ~A371201, ~A373197.

KEYWORD

allocated

nonn

AUTHOR

Gus Wiseman, Jun 20 2024

STATUS

approved

editing

#1 by Gus Wiseman at Wed Jun 19 00:22:33 EDT 2024
NAME

allocated for Gus Wiseman

KEYWORD

allocated

STATUS

approved