OFFSET
1,1
COMMENTS
MATHEMATICA
f[m_, n_] := Block[{c, k = 1}, c[x_, y_] := ContinuedFraction[x FromContinuedFraction[Join[{x}, Table[m, {y}], {x}]]]; While[First@ c[n, k] != Last@ c[n, k], k++]; k]; Select[Range[2, 1000], f[12, #] == # &] (* Michael De Vlieger, Sep 16 2015 *)
PROG
(PARI) for(n=2, 9999, n==A262211(n)&&print1(n", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Sep 15 2015
STATUS
approved