login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025742 a(n) is the index of 10^n within sequence of numbers of form 4^i*10^j. 2
1, 3, 7, 12, 19, 28, 38, 50, 64, 79, 96, 115, 135, 157, 181, 206, 233, 262, 292, 324, 358, 393, 430, 469, 509, 551, 595, 640, 687, 736, 786, 838, 892, 947, 1004, 1063, 1123, 1185, 1249, 1314, 1381, 1450, 1520, 1592, 1666, 1741, 1818, 1897, 1977, 2059, 2143, 2228 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Indices m for which A025649(m) is 0. - Michel Marcus, Jan 10 2018

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 0..10000

EXAMPLE

The index of 10^0 in A025621 is 1, so a(0)=1.

The index of 10^1 in A025621 is 3, so a(1)=3.

The index of 10^2 in A025621 is 7, so a(2)=7.

PROG

(PARI) a(n)=my(N=1); n+1+sum(i=1, n, logint(N*=10, 4)); \\ Charles R Greathouse IV, Jan 10 2018

(PARI) first(n)=my(s, N=1/10); vector(n+1, i, s+=logint(N*=10, 4)+1) \\ Charles R Greathouse IV, Jan 10 2018

CROSSREFS

Cf. A025621, A025649, A025686.

Sequence in context: A283733 A025713 A022791 * A122793 A062714 A039677

Adjacent sequences:  A025739 A025740 A025741 * A025743 A025744 A025745

KEYWORD

nonn,easy

AUTHOR

David W. Wilson

EXTENSIONS

Offset changed by Michel Marcus, Jan 10 2018

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 22 05:47 EDT 2019. Contains 327287 sequences. (Running on oeis4.)