OFFSET
1,1
COMMENTS
See A189226 for comments, references, links, examples, and crossrefs.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..1128 terms < 10^5.
S. Finch, Apollonian circles with integer curvatures [Cached copy, with permission of the author]
FORMULA
MATHEMATICA
(* terms < 10^4 *) t = Range[9999]*0; w = {-11, 21, 24, 28}; s[1] = {{-1, 2, 2, 2}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}; s[2] = {{1, 0, 0, 0}, {2, -1, 2, 2}, {0, 0, 1, 0}, {0, 0, 0, 1}}; s[3] = {{1, 0, 0, 0}, {0, 1, 0, 0}, {2, 2, -1, 2}, {0, 0, 0, 1}}; s[4] = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {2, 2, 2, -1}}; r[m_, j_, p_] := Block[{v = (m.w)[[p]]}, If[v < 9999, t[[v]] = 1; Do[ If[i != j, r[m.s[i], i, p]], {i, 4}]]]; Do[ r[s[i], i, i], {i, 4}]; Prepend[ Select[ Flatten@ Position[t, 1], PrimeQ], -11] (* Giovanni Resta, Jan 02 2014 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Jonathan Sondow, Apr 22 2011
EXTENSIONS
Corrected and extended by Steven Finch, Jan 02 2014
a(16)-a(46) from Giovanni Resta, Jan 02 2014
STATUS
approved