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.

A266242 Numbers n such that the initial digit of the fractional part of n*Pi is 0.

Original entry on oeis.org

0, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 149, 156, 163, 170, 177, 184, 191, 198, 205, 212, 219, 262, 269, 276, 283, 290, 297, 304, 311, 318, 325, 332, 375, 382, 389, 396, 403, 410, 417, 424, 431, 438, 445, 488, 495, 502, 509, 516, 523, 530, 537
Offset: 1

Views

Author

Robert Israel, Dec 25 2015

Keywords

Comments

Because 22/7 is so close to Pi, a(n+1) - a(n) is very often 7.
n for which A145951(n) = 0.

Examples

			36*Pi = 113.09... so 36 is in the sequence.
		

Crossrefs

Cf. A145951.

Programs

  • Maple
    select(t -> floor(10*t*Pi) mod 10 = 0, [$0..1000]);
  • PARI
    for(n=0, 1e3, if(floor(10*n*Pi) % 10 == 0, print1(n", "))); \\ Altug Alkan, Dec 25 2015