login
Square array A(row>=1, col>=1) by antidiagonals: A(r,c) contains the c:th prime p for which A037888(p)=(r-1).
8

%I #2 Mar 31 2012 14:02:20

%S 3,5,2,7,11,43,17,13,53,151,31,19,71,179,599,73,23,79,233,683,2111,

%T 107,29,83,241,739,2143,8543,127,37,101,271,797,2503,9103,33023,257,

%U 41,109,311,853,2731,9623,33151,131839,313,47,113,331,937,3011,10427,33599,135647,531071

%N Square array A(row>=1, col>=1) by antidiagonals: A(r,c) contains the c:th prime p for which A037888(p)=(r-1).

%e a(1) = A(1,1) = 3 (11 in binary) as it is the first prime whose binary expansion is palindromic. a(2) = A(1,2) = 5 (101 in binary) as it is the second prime whose binexp is palindromic. a(3) = A(2,1) = 2 (10 in binary) as it is the first prime whose binexp needs a flip of just one bit to become palindrome. a(4) = A(1,3) = 7 (111 in binary) as it is the third prime whose binexp is palindromic. a(5) = A(2,2) = 11 (1011 in binary) as it is the second prime whose binexp needs a flip of just one bit to become palindrome.

%Y Row 1: A016041, 2: A095743, 3: A095744, 4: A095745, 5: A095746. Cf. also A095759. A095747-A095748. Permutation of primes (A000040).

%K nonn,tabl

%O 1,1

%A _Antti Karttunen_, Jun 12 2004