|
|
A111014
|
|
Primes in the sequence A015519.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Is there an infinity of primes in this sequence?
|
|
REFERENCES
|
Prime Obsession, John Derbyshire, Joseph Henry Press, April 2004, p 16.
|
|
LINKS
|
|
|
FORMULA
|
Given a(0)=1, b(0)=1 then for i=1, 2, .. a(i)/b(i) = (a(i-1)+2*b(i-1)) /(a(i-1) + b(i-1)).
|
|
PROG
|
(PARI) primenum(n, k, typ) = \ k=mult, typ=1 num, 2 denom. output prime num or denom. { local(a, b, x, tmp, v); a=1; b=1; for(x=1, n, tmp=b; b=a+b; a=k*tmp+a; if(typ==1, v=a, v=b); if(isprime(v), print1(v", "); ) ); print(); print(a/b+.) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,frac
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|