login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A103797 Indices of n such that A019565(n)-1 is prime. 2
2, 3, 7, 9, 11, 21, 27, 29, 31, 39, 41, 47, 51, 53, 55, 61, 63, 67, 71, 81, 89, 91, 107, 113, 121, 123, 129, 131, 135, 139, 143, 149, 151, 157, 159, 163, 169, 175, 179, 183, 187, 191, 197, 199, 207, 211, 217, 223, 235, 241, 251, 259, 261, 269, 279, 281, 287, 295 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
A019565(0)=1, 1-1=0 is not prime;
A019565(1)=2, 2-1=1 is not prime;
A019565(2)=3, 3-1=2 is prime, so a(1)=2.
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] - 1; If[PrimeQ[cp], Print[n]], {n, 0, 1000}]
CROSSREFS
Sequence in context: A280110 A203234 A212985 * A262814 A328982 A260641
KEYWORD
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 04:35 EDT 2024. Contains 372356 sequences. (Running on oeis4.)