login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A085875
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
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, 35, 33, 26, 49, 15, 22, 43, 45, 38, 67, 47, 18, 61, 53, 24, 55, 79, 28, 39, 59, 32, 63, 65, 34, 57, 73, 40, 51, 71, 50, 81, 77, 62, 87, 83, 76, 89, 69, 56, 103, 75, 64, 109, 93, 44, 85
OFFSET
1,2
CROSSREFS
Sequence in context: A119475 A096116 A259431 * A330615 A302850 A338253
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 07 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Jul 08 2003
STATUS
approved