mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2017-03-16, 04:08   #1
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

5·67 Posts
Post Primes in A048788 OEIS Sequence

Is anyone able to check which indices a(n) A048788 OEIS sequence is prime for for n up to 20k or more? How can PFGW define recurrence relation non-Lucas Sequences so I know how to test them? Manual primality tests yield that a(n) is prime for the following n (up to 317):

2, 3, 5, 7, 11, 13, 19, 23, 37, 43, 149, 227, 277, 311, 317

OEIS doesn't have a sequence for this, so is someone also able to verify the current results on the indices n such that a(n) is prime for. Thanks for help and feedback. More work and time also appreciated.
carpetpool is offline   Reply With Quote
Old 2017-03-16, 11:07   #2
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

210216 Posts
Default

Quote:
Originally Posted by carpetpool View Post
Is anyone able to check which indices a(n) A048788 OEIS sequence is prime for for n up to 20k or more? How can PFGW define recurrence relation non-Lucas Sequences so I know how to test them? Manual primality tests yield that a(n) is prime for the following n (up to 317):

2, 3, 5, 7, 11, 13, 19, 23, 37, 43, 149, 227, 277, 311, 317

OEIS doesn't have a sequence for this, so is someone also able to verify the current results on the indices n such that a(n) is prime for. Thanks for help and feedback. More work and time also appreciated.
by the rule given in june 2014 all indices of primes will be in prime locations. in the case of y=2n+1; a(y)=3*a(y-2)-(-1*a(y-3))

Last fiddled with by science_man_88 on 2017-03-16 at 11:12
science_man_88 is online now   Reply With Quote
Old 2017-03-16, 20:42   #3
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

First, note that a(n) > 1 for n > 1 and that the sequence is a strong divisibility sequence, so if a(n) is prime then n is prime. So we need only check prime indices.

I added a closed-form program for the sequence to make it less of a pain to work with and started crunching away. The first minute or so gave these terms:
2, 3, 5, 7, 11, 13, 19, 23, 37, 43, 149, 227, 277, 311, 317, 491, 647, 719, 947, 1039, 1193, 1499, 1867, 1933, 4591, 7127
CRGreathouse is offline   Reply With Quote
Old 2017-03-16, 20:43   #4
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
by the rule given in june 2014 all indices of primes will be in prime locations.
Well-spotted, you beat me to it.
CRGreathouse is offline   Reply With Quote
Old 2017-03-16, 21:12   #5
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

A few more: 11273, 13591, 16823, 18541
CRGreathouse is offline   Reply With Quote
Old 2017-03-16, 21:27   #6
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

2·52·132 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
by the rule given in june 2014 all indices of primes will be in prime locations. in the case of y=2n+1; a(y)=3*a(y-2)-(-1*a(y-3))
of course all this gets to the fact that a(y-3) is forcing which types of primes are most popular in the sequence. and since it's an strongly increasing sequence once certain values are missed they aren't going to show up ever. I haven't thought about how fast it's increasing and what that says about which may be prime or not. anyways I may post again when I get more in my head. other sequences that may help you Edit:

https://oeis.org/A001835 all the odd placed terms.
https://oeis.org/A001353 twice this one is every second of the sequence you want to talk about and these fall into a lucas sequence.

Last fiddled with by science_man_88 on 2017-03-16 at 21:53
science_man_88 is online now   Reply With Quote
Old 2017-03-16, 23:50   #7
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

1010011112 Posts
Post

Thanks, CRGreathouse for those terms. To make sure (so an OEIS sequence can be added), are these the correct indices n (for a(n)) in order up to n = 20k?

I will try to add in an OEIS sequence if so.

Also just for curiosity, what is the density for the prime indices n such that a(n) is prime for compared to the primes n such that 2^n-1 (Mersenne) is prime for?

In other words, for any prime n, what is the (approximate) probability that a(n) is prime for, and for any given prime n, is there a greater chance that a(n) or 2^n-1 is prime for?

Last fiddled with by carpetpool on 2017-03-16 at 23:56
carpetpool is offline   Reply With Quote
Old 2017-03-17, 01:32   #8
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

Quote:
Originally Posted by carpetpool View Post
Thanks, CRGreathouse for those terms. To make sure (so an OEIS sequence can be added), are these the correct indices n (for a(n)) in order up to n = 20k?
I wasn't making that claim, but it happens to be true as the next two are 27947 and 34351.

Quote:
Originally Posted by carpetpool View Post
Also just for curiosity, what is the density for the prime indices n such that a(n) is prime for compared to the primes n such that 2^n-1 (Mersenne) is prime for?

In other words, for any prime n, what is the (approximate) probability that a(n) is prime for, and for any given prime n, is there a greater chance that a(n) or 2^n-1 is prime for?
I don't know. This sequence grows slower than 2^n-1, with its main term being 1.9318516...^n, but it really comes down to its behavior on small prime factors.
CRGreathouse is offline   Reply With Quote
Old 2017-03-17, 12:22   #9
carpetpool
 
carpetpool's Avatar
 
"Sam"
Nov 2016

5×67 Posts
Post

So I see you are continuing to test this sequence, or not?

I would be happy to check these terms too, though unfortunately I am stuck on defining a double-recurrence relation with PFGW like sm88 this sequence a(n) was. If all n <= 1M were tested, these terms would be checked to 300k digits approximately? Not saying anyone should risk their computer to do all that work. (I certainly would only go to about n = 200k or 300k) which is about 60k digits. I am only making sure I got the approximations of how large these primes are.
carpetpool is offline   Reply With Quote
Old 2017-03-17, 22:57   #10
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

OK, terms are

2, 3, 5, 7, 11, 13, 19, 23, 37, 43, 149, 227, 277, 311, 317, 491, 647, 719, 947, 1039, 1193, 1499, 1867, 1933, 4591, 7127, 11273, 13591, 16823, 18541, 27947, 34351, 66841, 80051, 80629, 81547

with no others through 86743. You can take it from here if you like, I'm done. The last term corresponds to a PRP23319. Through a million would be 286k digits.
CRGreathouse is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Primes in n-fibonacci sequence and n-step fibonacci sequence sweety439 sweety439 17 2017-06-13 03:49
Sequence of primes formation PawnProver44 Homework Help 37 2016-03-19 15:43
Expected number of primes in OEIS A007908 ewmayer Probability & Probabilistic Number Theory 6 2015-11-10 16:33
Any other primes in this sequence? brunoparga Math 16 2006-02-27 21:23

All times are UTC. The time now is 23:16.


Thu Jun 1 23:16:50 UTC 2023 up 287 days, 20:45, 0 users, load averages: 0.85, 0.98, 0.98

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔