Hi everyone,
Hope all is well.
a(1) = 1, a(2) = 4. For n > 2, a(n) is the least positive integer, not already in the sequence, that shares a common factor with n-1, but this common factor should not be equal to n-1.
a(3) = 6 (which shares a common factor with 2)
a(4) = 9 (which shares a common factor with 3)
a(5) = 2 (which shares a common factor with 4)
and so on.
We get
1, 4, 6, 9, 2, 10, 3, 14, 12, 15, 5, 22, 8, 26, 7, 18, 20, 34, 16, 38, 24, 27, 11, 46, 28, 30, 13, 33
Questions:
1. There are some terms where n shares common factors with a(n), a(n-1), and (n+1) like 2,6,10,18, 20, 26. Will all these terms be even numbers?
2. For prime numbers, a(2p+1) = p. Is this a correct statement?
3. For p > 3, a(p+1)= 2p. Is this a correct statement?
Best,
Ali
--
You received this message because you are subscribed to the Google Groups "SeqFan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seqfan+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CACOfRNqrmKkjK4WT2rPt0%3DXOJ9b%2BwXyzfGN5C3Z90cuv-9wBHg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CADy-sGES3U72UYHc7u8ebR4zbZLiH_YW5G%2B948oO%2Bzxj7fK1Xg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CACOfRNry5kpocg8DMTyopyMN-Bspp203S-zXGXbJfwC1eTXKxQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CADy-sGEqYWna7giLe_gJKZ9jzENZARsdTQkGC%3DZZ3x3RjCs6Ew%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CACOfRNpfs2PUWC%3DDKdBkJasFw%2BNQFBXYsWg5UA%3DJSKx%3Du5brLA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CADy-sGGrzNK95ZGBtkUVMqWS9Wx9CTdBP_cTb0%3DMkSQO1g7f5g%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CACOfRNrG9TsXOqH8f5sHtVKGCj8rXGVRchggUiWSf3HO4A%3DUbg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CAOX9QiCi4XyaOX2feCqa3obZfmR3N_LAFi01PqM%3DDWPG-8u6FA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CADy-sGGN2xnj19LSJNjD7N5n1k-9Gi30zyOtnHt1QKtQRLDscg%40mail.gmail.com.
Thank you Doug for the excellent definition. I made the calculations by hand, so most likely I made a mistake.And now, since you and Allan clarified everything, can you please help me with the terms of the sequence?
I need as many as possible.
Also, do you think the three conjectures I mentioned are correct?
The first isn't, but the others, yes, I think so:
Questions:
1. There are some terms where n shares common factors with a(n), a(n-1), and (n+1) like 2,6,10,18, 20, 26. Will all these terms be even numbers?
I guess you mean a(n+1) because gcd(n, n+1) = 1, always.
Also, I first thought that you wanted gcd(n, a(n-1), a(n), a(n+1)) > 1, but that gives only results >= 18:
select(n->gcd([n,AA[n],AA[n-1],AA[n+1]])>1,[2..399])
% = [18, 20, 50, 68, 110, 138, 172, 174, 176, 189, 240, 242, 246, 248, 258, 286, 288, 318, 320, 321, 374]
(Note that we have odd 189 and 321 in the above.)
So, instead, looking for gcd(n, a(k)) > 1 for k = n-1, n, n+1 (which is less restrictive):
select(n-> gcd(n,AA[n])>1 && gcd(n,AA[n-1])>1 && gcd(n,AA[n+1])>1,[2..199])
% = [6, 10, 14, 18, 20, 30, 34, 42, 46, 50, 54, 62, 66, 68, 70, 72, 78, 90, 94, 106, 110, 114, 126, 130, 138, 140, 150, 154, 156, 172, 174, 176, 182, 186, 189, 190]
Obviously, this is a subsequence, so there are the same odd 189, 321, but also others (e.g. 345, 357 which are not in the other sequence).
2. For prime numbers, a(2p+1) = p. Is this a correct statement?
3. For p > 3, a(p+1)= 2p. Is this a correct statement?
Yes, I'm confident that's right, but I don't have time to think about a proof.
(I've checked it up to A(9999)=4999, which is a (very) "late bird", the 10 preceding terms are all of order 10^4 ; only every 12th term in this region is half that size, e.g., A(9987) = 4993, A(9975) = 4987 are the preceding two smaller terms.)
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CAFqvfd90T7TN5ESfa-5WLehsZZSyNHRqgEwje8FwfC0DBuwyCw%40mail.gmail.com.