Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A050683
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A050683 Number of palindromes of length n. +0
13
9, 9, 90, 90, 900, 900, 9000, 9000, 90000, 90000, 900000, 900000, 9000000, 9000000, 90000000, 90000000, 900000000, 900000000, 9000000000, 9000000000, 90000000000, 90000000000, 900000000000, 900000000000, 9000000000000 (list; graph; listen)
OFFSET

1,1

COMMENT

In general the number of base k palindromes with n digits is (k-1)*k^floor[(n-1)/2].

This sequence does not count 0 as palindrome with 1 digit, see A070252=(10,9,90,90...) for the variant which does. [From M. F. Hasler (MHasler(AT)univ-ag.fr), Nov 16 2008]

LINKS

Dr. Math, More info 1.

Dr. Math, More info 2.

FORMULA

a(n) = 9*10^floor[(n-1)/2]

PROGRAM

(PARI) A050683(n)=9*10^((n-1)\2) [From M. F. Hasler (MHasler(AT)univ-ag.fr), Nov 16 2008]

CROSSREFS

Cf. A002113, A050250, A050251, A070252, A070199. Cf. A016116 for numbers of binary palindromes, A016115 for prime palindromes.

Sequence in context: A112296 A038299 A165427 this_sequence A092548 A121389 A065242

Adjacent sequences: A050680 A050681 A050682 this_sequence A050684 A050685 A050686

KEYWORD

nonn,easy,base,nice

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com), Aug 15 1999.

EXTENSIONS

Additional comments from Henry Bottomley (se16(AT)btinternet.com), Aug 14 2000

page 1

Search completed in 0.018 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 December 5 23:38 EST 2009. Contains 170428 sequences.


AT&T Labs Research