Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073781
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073781 Number of 2's in base-3 representation of n-th prime. +0
3
1, 0, 1, 1, 1, 0, 2, 1, 2, 1, 0, 0, 1, 1, 2, 3, 2, 2, 1, 3, 2, 3, 1, 2, 1, 2, 1, 3, 0, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 3, 2, 2, 1, 3, 1, 2, 3, 3, 2, 4, 4, 4, 2, 1, 2, 3, 0, 1, 1, 0, 2, 1, 2, 2, 3, 1, 0, 2, 2, 1, 2, 1, 1, 1, 2, 2, 2, 3, 1, 2, 2, 4, 1, 2, 2, 3, 3 (list; graph; listen)
OFFSET

1,7

EXAMPLE

a(7)=2 as 7th prime 17 is 122 in base-3 representation

MAPLE

a2[n_] := Length[Cases[IntegerDigits[Prime[n], 3], 2]]

CROSSREFS

Cf. A073779, A073780.

Sequence in context: A121310 A024356 A143947 this_sequence A048622 A105661 A082451

Adjacent sequences: A073778 A073779 A073780 this_sequence A073782 A073783 A073784

KEYWORD

base,easy,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com) Aug 11 2002

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research