(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences® (OEIS®)
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)

Revision History for A069754

(Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A069754 Counts transitions between prime and nonprime to reach the number n.
(history; published version)
#38 by Hugo Pfoertner at Wed Jan 17 05:08:12 EST 2024
STATUS

reviewed

approved

#37 by Michel Marcus at Wed Jan 17 04:41:55 EST 2024
STATUS

proposed

reviewed

#36 by Joerg Arndt at Wed Jan 17 04:32:15 EST 2024
STATUS

editing

proposed

#35 by Joerg Arndt at Wed Jan 17 04:32:09 EST 2024
EXAMPLE

a(1) = 0 since starting at 1 and ending at 1 is no transitions at all. - Rémi Guillaume, Dec 29 2023

STATUS

proposed

editing

#34 by Rémi Guillaume at Fri Jan 12 13:08:24 EST 2024
STATUS

editing

proposed

#33 by Rémi Guillaume at Fri Jan 12 12:33:28 EST 2024
CROSSREFS

Cf. Same parity: A010051, A061007, A035026, A069754, A071574.

STATUS

proposed

editing

#32 by Kevin Ryde at Sat Dec 30 06:33:33 EST 2023
STATUS

editing

proposed

Discussion
Sat Dec 30 08:57
Rémi Guillaume: Thank you all for your changes and answers.
In the second twin formula, «When n is composite» should be replaced with «When n is nonprime»; shouldn't it?
@Kevin Ryde:
● In my comment, why have you replaced «transition» with «transitions», please?
● Since you have moved my comment down, the upper comment looks as if I had signed it together with the lower comment; doesn't it?
● If: «a(1) = 0 since starting at 1 and ending at 1 is no transition at all»,
then an extra 0 term could possibly be added at the start of the present sequence:
«a(0) = 0 since starting at 0 and ending at 0 is no transition at all».
But if: «a(1) = 0 since starting at 0 and ending at 1 is no transition»,
then an extra 0 term could hardly be added at the start of the present sequence:
«a(0) = 0 since starting at -1 and ending at 0 is no transition»
would be «excessive», wouldn't it?
I need this point to be clarified, before I can point out something more general.
12:53
Rémi Guillaume: @Kevin Ryde: I'm sorry, I meant:
● In my example, why have you replaced «transition» with «transitions», please?
● Since you have moved my example down, the upper example looks as if I had signed it together with the lower example; doesn't it?
20:22
Kevin Ryde: A "-" style signature applies to the line (paragraph) it appears on.  it's usual and correct for the unsigned work of the original author to be follows by additional signed work of later contributors.
20:28
Kevin Ryde: I interpret transition to mean going from x to x+1.  Assuming the starting point is indeed intended to be 1, then for example a(2) considers a single transition 1 to 2, and finds that yes that's a change of primality, so count it.
Sun Dec 31 06:42
Rémi Guillaume: ● In the second twin formula, «When n is composite» should be replaced with «When n is nonprime»; shouldn't it?
● Would it be reasonable to write the following comment (not example):
«An extra term, a(0) = 0, could possibly be added at the start of the sequence (since starting at 0 and ending at 0 would be no transition at all).»?
(I need this point to be clarified, before I can point out something more general.)
@Kevin Ryde:
Thank you for your answers.
In my example, why have you replaced «transition» with «transitions», please?
Tue Jan 02 02:32
Kevin Ryde: Usually plural "transitions" for 0 things in English (when it arises, which tends to be in mathematics rather than real life :).
02:35
Kevin Ryde: "a(0) = 0, could possibly be added" would be discouraged, unless there's some great controversy about initial term.  If it was good, then would do it, instead of saying what might be done.  In this case, I don't think it's important and may as well leave it.
09:09
Rémi Guillaume: ● In the second twin formula, «When n is composite» should be replaced with «When n is nonprime»; shouldn't it?
● The remaining comment (not example) should be clarified «into» something like:
«The following sequences all appear to have the same parity (with[out] the extra zero term at the start of A010051 [and A069754]): A010051, A061007, A035026, A069754, A071574.»,
shouldn't it?
Tue Jan 09 10:37
Rémi Guillaume: ● In the second twin formula, «When n is composite» should be rectified to «When n is nonprime»; shouldn't it??
● The remaining comment (not example) should be clarified to something like:
«The following sequences all appear to have the same parity (without the extra zero term at the start of A010051 and A069754): A010051, A061007, A035026, A069754, A071574.»,
shouldn't it?
#31 by Kevin Ryde at Sat Dec 30 06:30:44 EST 2023
EXAMPLE

a(1) = 0 since going from 1 (nonprime) to 1 (nonprime) is not a transition. - Rémi Guillaume, Dec 29 2023

a(1) = 0 since starting at 1 and ending at 1 is no transitions at all. - Rémi Guillaume, Dec 29 2023

STATUS

proposed

editing

Discussion
Sat Dec 30 06:33
Kevin Ryde: 1 to 1 is not a transition.  It's not actually clear in the definition whether the starting point for transitioning was to be 1 or 0.  Doesn't change the result of course.
#30 by Stefano Spezia at Sat Dec 30 02:46:26 EST 2023
STATUS

editing

proposed

#29 by Stefano Spezia at Sat Dec 30 02:46:23 EST 2023
EXAMPLE

a(6)=) = 4 because there are 4 transitions: 1 to 2, 3 to 4, 4 to 5 and 5 to 6.

STATUS

proposed

editing

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 26 13:58 EDT 2024. Contains 375456 sequences. (Running on oeis4.)