login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152182 The sequence is a lattice filling using the exponential "E" constant digits base ten. 0
1, 21, 371, 8090, 102125, 1061609 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..5.

MATHEMATICA

Clear[ f ]; f[ 0 ] := 1; f[ n_Integer /; n > 0 ] := Module[ {i, cnt, m, p}, i = 0; cnt = 0; m = Table[ 0, {10^n} ]; p = Map[ FromDigits, Partition[ First[ RealDigits[ E, 10, 20*10^ n ] ], n, 1 ] ] + 1; Catch[ Map[ ( i++; If[ m[ [ # ] ] == 0, m[ [ # ] ] = 1; If[ ++cnt == 10^n, Throw[ i ] ] ]) &, p ] ] ]; Table[ f[ n ], {n, 0, 5} ]

CROSSREFS

Sequence in context: A178351 A324360 A323001 * A036904 A218763 A181364

Adjacent sequences:  A152179 A152180 A152181 * A152183 A152184 A152185

KEYWORD

nonn,uned,base

AUTHOR

Roger L. Bagula, Nov 28 2008, extended Nov 30 2008, Nov 30 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 22:08 EDT 2022. Contains 353825 sequences. (Running on oeis4.)