Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A082791
Smallest k such that k*n begins with 2: a(n) = A082811(n)/n.
2
2, 1, 7, 5, 4, 4, 3, 3, 3, 2, 2, 2, 2, 2, 14, 13, 12, 12, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
OFFSET
1,1
COMMENTS
a(n) is in {1, 2, 3, 4, 5, 6, 7, 11, 12, 13, 14}. [Charles R Greathouse IV, Mar 06 2011]
PROG
(PARI) a(n)=forstep(k=n, 14*n, n, if(Vec(Str(k))[1]=="2", return(k/n))) \\ Charles R Greathouse IV, Mar 06 2011
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 19 2003
EXTENSIONS
More terms from Zak Seidov, Mar 06 2011
STATUS
approved