login
Rearrangement of natural numbers as follows: a(1) = 1, a(2) =2, a(n+1) = smallest number not included earlier such that a(n-1)*a(n) + a(n+1) is a prime.
0

%I #4 Dec 05 2013 19:56:18

%S 1,2,3,5,4,9,7,8,11,13,6,19,17,14,25,23,12,31,29,20,21,37,10,27,41,16,

%T 35,33,26,49,15,22,43,45,38,67,47,18,61,53,24,55,79,28,39,59,32,63,65,

%U 34,57,73,40,51,71,50,81,77,62,87,83,76,89,69,56,103,75,64,109,93,44,85

%N Rearrangement of natural numbers as follows: a(1) = 1, a(2) =2, a(n+1) = smallest number not included earlier such that a(n-1)*a(n) + a(n+1) is a prime.

%K nonn

%O 1,2

%A _Amarnath Murthy_, Jul 07 2003

%E Corrected and extended by _Ray Chandler_, Jul 08 2003