FORMULA
a(n+1) = a(n) + pi(a(n)) isnonprime(a(n)), a(n+1) = a(n) - previousprime(a(n)) isprime(a(n)), a(2) = 2.
Discussion
Wed Jan 31
00:52
Kevin Ryde: Delete formula. That's trying to be trajectory step as in A368196 (doesn't apply here).
Discussion
Sat Jan 13
05:24
Jon E. Schoenfield: I’m sorry, I just now saw your question of Dec 29. (I’m also sorry that I don’t know the answer.) :-(
07:54
Michel Marcus: I do not understand how this formula should be read
07:55
Michel Marcus: a(n+1) = a(n) + pi(a(n)) isnonprime(a(n)) : what does this mean ?
FORMULA
a(n+1) = a(n) + pi(a(n)) isnonprime(a(n)), a(n+1) = a(n) - previousprime(a(n)) isprime(a(n)), a(2) = 2.
Discussion
Thu Dec 21
04:33
Hendrik Kuipers: @04:19 Jon E. Schoenfield yes
Fri Dec 22
04:41
Hendrik Kuipers: What are next steps towards publication?
Fri Dec 29
05:05
Hendrik Kuipers: @Jon E. Schoenfield What can I do to advance this?
COMMENTS
prevprime(n) = A151799(n) is the next largest prime < n.
Discussion
Thu Dec 21
04:19
Jon E. Schoenfield: Is this okay?
Discussion
Thu Dec 21
00:11
Jon E. Schoenfield: Maybe it’s because I’m accustomed to seeing functions named “PreviousPrime()” and “NextPrime()”, but I don’t like the wording in the sentence that includes “prevprime(n) … is the next prime …”
COMMENTS
a(n) = 2 iff n=2 or n is the larger prime of a twin prime pair (A077800A006512).