This site is supported by donations to The OEIS Foundation.

 Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A256862 a(1)=1, then a(n) = least number > a(n-1) such that 2*a(n-1)+a(n) is prime. 0
 1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 25, 29, 31, 35, 37, 39, 49, 51, 55, 57, 59, 61, 69, 73, 77, 79, 81, 89, 91, 95, 103, 105, 107, 117, 119, 121, 125, 129, 131, 135, 139, 141, 149, 151, 155, 157, 165, 169, 171, 179, 183, 191, 195, 197, 199, 201, 205, 207, 217, 219, 221, 231, 239 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS I conjecture that any initial term a(1) eventually merges with this sequence. LINKS MATHEMATICA a=1; s={a}; Do[x=a+1+Mod[a, 2]; While[!PrimeQ[2*a+x], x=x+2]; s={s, x}; a=x, {100}]; s=Flatten[s] PROG (PARI) v=[1]; n=2; while(#v<100, if(isprime(2*v[#v]+n), v=concat(v, n)); n++); v \\ Derek Orr, Apr 14 2015 CROSSREFS Sequence in context: A043325 A023692 A155113 * A173601 A165705 A209492 Adjacent sequences:  A256859 A256860 A256861 * A256863 A256864 A256865 KEYWORD nonn,easy AUTHOR Zak Seidov, Apr 11 2015 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 12 13:48 EST 2018. Contains 318063 sequences. (Running on oeis4.)