The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A103800 Indices n such that A019565(n)-2 is prime. 1
 4, 6, 8, 10, 14, 18, 20, 22, 26, 28, 30, 32, 34, 38, 40, 42, 54, 58, 60, 62, 68, 76, 78, 86, 88, 98, 100, 102, 106, 110, 126, 128, 134, 136, 138, 142, 158, 162, 174, 188, 190, 194, 196, 202, 210, 218, 222, 230, 234, 238, 240, 254, 258, 260, 272, 274, 278, 292, 294 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE A019565(0)=1, 1-2=-1 is not prime; A019565(1)=2, 2-2=0 is not prime; ... A019565(4)=5, 5-2=3 is prime, so a(1)=4; MATHEMATICA A019565 = Function[tn, k1 = tn; o = 1; tt = 1; While[k1 > 0, k2 = Mod[k1, 2]; If[k2 == 1, tt = tt*Prime[o]]; k1 = (k1 - k2)/2; o = o + 1]; tt]; Do[cp = A019565[n] - 2; If[PrimeQ[cp], Print[n]], {n, 0, 1000}] CROSSREFS Cf. A019565, A103799. Sequence in context: A069148 A328144 A327888 * A022449 A088686 A161344 Adjacent sequences:  A103797 A103798 A103799 * A103801 A103802 A103803 KEYWORD easy,nonn AUTHOR Lei Zhou, Feb 22 2005 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 May 14 09:34 EDT 2021. Contains 343879 sequences. (Running on oeis4.)