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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179804 Number of letter combinations on a standard telephone keypad represented by the digits in n 0
0, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 9, 9, 9, 9, 9, 9, 9, 9, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..100.

FORMULA

If n contains a 1 or 0, then a(n) = 0

Otherwise, if d=number of digits in n, then a(n)=3^d.

EXAMPLE

If any digit in n is 1 or 0, then a(n) = 0 because telephone keys 1 and 0 represent no letters

a(2)=3 because "3" on a keypad can represent "d", "e", or "f".

a(23)=9 because "2" on a keypad represents the letters "abc" and "3" represents "def", and there are 9 possible combinations taking one letter from each of these sets in this order.

CROSSREFS

Sequence in context: A122845 A135203 A251552 * A102818 A010701 A174971

Adjacent sequences:  A179801 A179802 A179803 * A179805 A179806 A179807

KEYWORD

easy,nonn,base

AUTHOR

Dominick Cancilla, Jul 27 2010

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 3 01:12 EST 2016. Contains 278694 sequences.