cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A146336 Numbers k such that continued fraction of (1 + sqrt(k))/2 has period 12.

Original entry on oeis.org

94, 103, 124, 127, 128, 158, 160, 177, 190, 204, 208, 209, 216, 236, 239, 247, 263, 295, 296, 302, 316, 332, 351, 364, 376, 384, 385, 415, 423, 426, 432, 460, 464, 479, 492, 535, 544, 585, 606, 608, 609, 636, 639, 666, 668, 684, 696, 706, 734, 736, 744, 750
Offset: 1

Views

Author

Artur Jasinski, Oct 30 2008

Keywords

Comments

For primes in this sequence see A146357.

Examples

			a(2) = 103 because continued fraction of (1+sqrt(103))/2 = 15, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2 ... has period (1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9) length 12.
		

Crossrefs

Programs

  • Mathematica
    cf12Q[n_]:=!OddQ[Sqrt[n]]&&Length[ContinuedFraction[(1+Sqrt[n])/2][[2]]]==12; Select[Range[800],cf12Q] (* Harvey P. Dale, Oct 15 2011 *)