[seqfan] A159559

Leroy Quet q1qq2qqq3qqqq at yahoo.com
Tue Jul 28 18:10:10 CEST 2009

CCed to seqfan:

Neil: Should something be done about A159559?

The definition should probably be made more clear, especially since I think this is an important sequence.
Maybe the definition should simply be something along the lines of:
"If n = a prime, then a(n) = the smallest prime > a(n-1).
If n = a composite, then a(n) = the smallest composite > a(n-1)."

That definition takes up more characters, I think, than the original, but it surely is less ambiguous.

Also, I would start the sequence with a 2 and give an offset of 1, with the case of a(1) be considered exceptional and not following the rule in the formula. But maybe the way the sequence is given (offset of 2) would be considered by you to be more natural, or not.
If you think the sequence should start with a(1)=2, then add "a(1)=2" to the definition, of course. Otherwise, add a(2)=3".

In any case, I wish someone would extend this sequence, possibly adding a b-file.

Leroy Quet


More information about the SeqFan mailing list