login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A330339 Boustrophedon primes: write the numbers 0, 1, 2, 3, ... in a triangle on a square grid in the boustrophedon manner, ending a row when a prime is reached; sequence lists primes that appear in the zeroth column. 7
37, 53, 89, 113, 3821, 3989, 4657, 28661, 29021, 41641, 41669, 44249, 50909, 56053, 57041, 57301, 133981, 16501361, 46178761, 47633441, 47633477, 47722049, 47736121, 47774621, 47803477, 47810209, 47835013, 47835341, 47854969, 47862413, 47865017, 49448573, 49448617 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Eric Angelini's illustration shows the first 19 rows of the triangle. Each row ends when a prime is reached, and the next row starts directly under this prime but moves in the opposite direction.

The extended illustration from Walter Trump resembles a giant ski run.

Hans Havermann's plots of A330545, linked here, extend Walter Trump's graph to 4*10^8 rows (probably the longest ski run in the world). Only the turns are shown, and the illustration has been turned sideways.

A330545(k) = 0 iff prime(k) is a term of the present sequence. In a sense A330545 and the simpler A330547 are the more fundamental sequences and show the connection between the present problem and the ordinary primes and their alternating sums.

Note that because primes > 2 are odd, a prime can only appear in column 0 at the end of a row that is moving towards the left. A prime appearing in a row moving to the right will always appear in an odd-numbered column (and in particular, not in the zero column).

Furthermore the column number mod 4 uniquely determines the residue class of primes mod 4 in that column. If the column number is 0,1,2,3 mod 4 then the primes in that column are 1,3,3,1 respectively (see the "Notes" link). In particular, a(n) == 1 mod 4. - N. J. A. Sloane, Jan 04 2020

Note that the primes > 2 in column one and two are the primes in A282178.

Note on the links: The illustrations from Angelini and Trump show all the terms 0,1,2,3,4,..., while those of Havermann and Sloane just show the primes (as in A330545).

LINKS

Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 516 terms from Hans Havermann)

Eric Angelini, Illustration of beginning of the triangle in A330339.

Hans Havermann, Plot of 4*10^8 terms of A330545, sampled every 1000 terms, points joined.

Hans Havermann, More detailed view of terms of A330545 from 290 million to 310 million, sampled every 10 terms, points joined.

N. J. A. Sloane, Illustration of first 16 rows of A330545.

N. J. A. Sloane, Notes on the sequence of Bostrophedon primes (A330339) and the "ski-run" A330545.

N. J. A. Sloane, State diagram for columns of A330545.

Walter Trump, An extended picture of the triangle in A330339, showing the first 550 rows, down to the row that starts 3989. [The zeroth column is just to the right of the vertical red line. Note that after a while the rows extend to the left of the red line. The digits are too small to be read.]

Walter Trump, An extended picture of the triangle in A330339, showing the first 550 rows, down to the row that starts 3989. [Same picture as the previous one, but with 6 red dots added to show the primes in column 0.]

CROSSREFS

Cf. A282178, A330545, A330547.

A330546 gives the list of indices i such that a(n) = prime(i).

A127596 is another sequence with a similar flavor.

Not to be confused with A000747 = Boustrophedon transform of primes.

Sequence in context: A304358 A214755 A101940 * A036540 A225214 A141166

Adjacent sequences:  A330336 A330337 A330338 * A330340 A330341 A330342

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Dec 17 2019, following a suggestion from Eric Angelini. a(5) and a(6) were found by Walter Trump. a(7)-a(17) from N. J. A. Sloane, Dec 17 2019.

EXTENSIONS

More terms from Hans Havermann, Dec 17 2019

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 May 29 04:33 EDT 2020. Contains 334697 sequences. (Running on oeis4.)