Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137779
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137779 Number of bases (numbering systems, including unary) in which the nth prime is a palindrome having at least two digits. +0
2
1, 2, 3, 3, 2, 3, 4, 2, 3, 3, 4, 3, 3, 3, 2, 2, 3, 3, 4, 3, 4, 2, 3, 3, 3, 3, 2, 4, 4, 3, 4, 3, 2, 2, 2, 4, 4, 2, 2, 4, 2, 4, 5, 3, 4, 3, 4, 2, 4, 3, 3, 3, 4, 3, 6, 2, 2, 4, 4, 3, 2, 2, 4, 2, 5, 2, 3, 5, 2, 3, 5, 2, 2, 6, 5, 3, 2, 3, 4, 4, 4, 5, 3, 4, 2, 5, 3, 4, 4, 4, 3, 3, 4, 2, 3, 3, 3, 4, 4 (list; graph; listen)
OFFSET

1,2

COMMENT

Each prime p > 2 is palindrome in at least base 1 and base p-1, since p = 1*(p-1)^1 + 1*(p-1)^0 and p = 1*1^(p-1) + 1*1(p-2) + ... + 1*1^1 + 1*1^0.

LINKS

Attila Olah, Table of n, a(n) for n = 1..10000

EXAMPLE

a(621) = 9 because the 621th prime (4591) is a palindrome in 9 bases: base 1, 19, 20, 24, 33, 37, 51, 54 and 4590 (4591 = 1*4590^1 + 1*4590^0).

CROSSREFS

Cf. A087911.

Sequence in context: A007538 A025076 A110006 this_sequence A107918 A002963 A046677

Adjacent sequences: A137776 A137777 A137778 this_sequence A137780 A137781 A137782

KEYWORD

easy,base,nonn

AUTHOR

Attila Olah (jolafix(AT)gmail.com), May 06 2008, corrected May 08 2008

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 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research