Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A116943
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A116943 Number of 4s digits plus non-final 3s digits 3 base 5 expansion of 2^n. +0
1
0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 3, 2, 2, 2, 1, 1, 3, 4, 5, 3, 3, 1, 4, 4, 7, 2, 7, 7, 4, 6, 9, 9, 6, 5, 5, 7, 4, 9, 4, 7, 7, 7, 10, 8, 6, 8, 6, 9, 8, 9, 8, 10, 11, 11, 8, 13, 5, 11, 15, 13, 10, 10, 8, 12, 9, 14, 11, 8, 11, 12, 10, 13, 13, 13, 10, 10, 12, 6, 10, 15, 8, 17, 17, 16, 16, 12, 16, 15, 13 (list; graph; listen)
OFFSET

0,11

COMMENT

In his comment on A038003 Frank Adams-Watters conjectures "that 2^n contains such a base 5 digit for n>=9. This is almost certainly true." That is equivalent to a(n) > 0 for n>=9, which is also equivalent to A094389(n) = 5 where A094389 is last decimal digit of the odd Catalan number A038003(n).

EXAMPLE

a(7) = 0 because 2^7 (modulo 5) = 1003, which contains 0 digits 4 plus 0 non-final digits 3 (it has a digit 3, but that digit is finial, meaning rightmost).

a(10) = 3 because 2^10 mod 5 = 13044, which contains 2 digits 4 plus 1 non-final digits 3, so 2 + 1 = 3.

a(60) = 10 because 2^60 mod 5 = 34132411211412413323100401, which contains 5 digits 4 plus 5 non-final digits 3, so 5 + 5 = 10.

MATHEMATICA

f[n_] := Block[{id = IntegerDigits[2^n, 5]}, Count[id, 4] + Count[Most@id, 3]]; Table[ f[n], {n, 0, 88}] (* Robert G. Wilson v *)

CROSSREFS

Cf. A038003, A094389.

Sequence in context: A071048 A098054 A075801 this_sequence A075791 A104435 A085398

Adjacent sequences: A116940 A116941 A116942 this_sequence A116944 A116945 A116946

KEYWORD

base,easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Mar 23 2006

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Apr 01 2006

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research