|
|
A145951
|
|
a(n) = floor(d*Pi*n) where d is the initial digit of the fractional part of Pi*n.
|
|
2
|
|
|
3, 12, 37, 62, 109, 150, 197, 25, 56, 125, 172, 226, 326, 395, 47, 100, 213, 282, 358, 502, 593, 69, 144, 226, 392, 490, 678, 791, 91, 188, 292, 502, 622, 854, 989, 0, 232, 358, 612, 753, 1030, 1187, 0, 276, 424, 722, 885, 1055, 1385
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n=5, 5*Pi = 15.707...; take the 7 from 15.(7)07... and multiply again: 7*5*Pi = 109.955... => 109.
|
|
MAPLE
|
f:= proc(n) local d;
d:= floor(10*n*Pi) mod 10;
floor(d*n*Pi)
end proc:
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Matthew Jorgensen (matthew.a.jorgensen(AT)gmail.com), Oct 25 2008
|
|
STATUS
|
approved
|
|
|
|