Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A081223
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A081223 Smallest k such that floor(k*gamma) begins with n (gamma=0.5772156649...). +0
2
2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 20, 21, 23, 25, 26, 28, 30, 32, 33, 35, 37, 39, 40, 42, 44, 46, 47, 49, 51, 52, 54, 56, 58, 59, 61, 63, 65, 66, 68, 70, 72, 73, 75, 77, 78, 80, 82, 84, 85, 87, 89, 91, 92, 94, 96, 98, 99, 101, 103, 104, 106, 108, 110, 111, 113, 115, 117, 118 (list; graph; listen)
OFFSET

1,1

COMMENT

Based on the sequences A078219 and A078220 of Amarnath Murthy (amarnath_murthy(AT)yahoo.com)

MAPLE

C := gamma; a := proc(M0, M, C) local i, d, f, g, k; description "returns the sequence 'a(n)' between 'M0' and 'M' where 'a(n)=min{k | floor(C*k) begins with n}."; d := N->`if`(N=0, [0], ListTools[Reverse](convert(N, base, 10))); f := (K, N)->`if`(d(floor(K*C))[1..min(nops(d(floor(K*C))), nops(d(N)))]=d(N), K, 0); for i from M0 to M do k := 0; while f(k, i)=0 do k := k+1; od; g(i) := f(k, i) od; return seq(g(j), j=M0..M); end proc;

CROSSREFS

Cf. A078219, A078220, A081224, A081225, A081226.

Sequence in context: A080755 A083089 A136617 this_sequence A047293 A076521 A139529

Adjacent sequences: A081220 A081221 A081222 this_sequence A081224 A081225 A081226

KEYWORD

nonn,base

AUTHOR

Francois Jooste (pin(AT)myway.com), Mar 10 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research