A306849 Brazilian primes that are also the lesser of a pair of twin primes.
2801, 637421, 2625641, 78914411, 195534851, 7294932341, 19408913261, 57765899591, 133311428141, 212872312241, 1508520377381, 1960226457281, 5412080545901, 11543487851801, 19383356741711, 20748237948131, 24212632812551, 25413171899021, 28240486488581, 46922470889141
Offset: 1
Examples
2801 is a term because 2801 + 2 = 2803 is prime, so 2801 is a lesser of twin primes, then 2801 = 1 + 7 + 7^2 + 7^3 + 7^4 = (11111)_7 and 2801 is also a Brazilian prime.
Programs
-
PARI
lista(lim)=my(v=List(), t, k); for(n=2, sqrt(lim), t=1+n; k=1; while((t+=n^k++)<=lim, if(isprime(t) && isprime(t+2), listput(v, t)))); v = vecsort(Vec(v), , 8); \\ Michel Marcus, Mar 14 2019
Extensions
Terms computed by Giovanni Resta and Michel Marcus, Mar 13 2019
Comments