|
Search: id:A134039
|
|
|
| A134039 |
|
First prime divisor of odd composite Mersenne prime reversals. |
|
+0 3
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
The UBASIC program below was used to find A(3)=683. Suggested by Puzzle 417, Carlos Rivera's The Prime Puzzles & Problems Connection (puzzle inspired by G. L. Honaker, Jr.'s Prime Curios)
|
|
FORMULA
|
Generate the sequence of Mersenne primes, reverse each, and test for primality. If the reversal is an odd composite, find the first prime divisor.
|
|
EXAMPLE
|
a(2) = 13 because the 6th Mersenne prime is 2^17-1 = 131071. Reversed this number is 170131, which is equal to 13*13087.
|
|
PROGRAM
|
UBASIC to find a(3)=683. 10 'primes using counters 20 N=727501488517303786137132964064381141071 30 A=3:S=sqrt(N):C="c" 40 B=N\A 50 if B*A=N then print B; A; N; "-"; :N=N+2:goto 30 60 A=A+2 70 if A<=sqrt(N) then 40 80 if N>2 then stop 81 C=C+1 90 print C; N; "-"; 100 N=N+2:goto 30
|
|
CROSSREFS
|
Cf. A134037 A134038.
Sequence in context: A087820 A023286 A146648 this_sequence A116522 A108056 A018562
Adjacent sequences: A134036 A134037 A134038 this_sequence A134040 A134041 A134042
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Enoch Haga (Enokh(AT)comcast.net), Oct 02 2007
|
|
|
Search completed in 0.002 seconds
|