Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097929
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097929 Numbers in base 10 that are palindromic in bases 4 and 5. +0
4
1, 2, 3, 46, 9222, 76449, 193662, 2347506, 2593206, 17099841, 17402241, 25651017, 32317933 (list; graph; listen)
OFFSET

1,2

LINKS

Cino Hilliard, util.gp PARI Functions not in the PARI Librery.

EXAMPLE

9222 base 10 is 2100012 base 4

9222 base 10 is 243342 base 5

MATHEMATICA

Do[ p4 = IntegerDigits[n, 4]; If[ FromDigits[ Reverse[ p4]] == FromDigits[p4], p5 = IntegerDigits[n, 5]; If[ FromDigits[ Reverse[p5]] == FromDigits[p5], Print[n]]], {n, 2*10^7}] (from Robert G. Wilson v Sep 07 2004)

PROGRAM

(PARI) \Requires reading the util.gp file in the link into the gp session. Place in the \.gprc file to automate. palbase(n, b1, b2) = { for(x=1, n, if(ispal(base(10, b1, x))& ispal(base(10, b2, x)), print1(x", ")) ) }

CROSSREFS

Sequence in context: A042819 A100443 A060415 this_sequence A041501 A144420 A163488

Adjacent sequences: A097926 A097927 A097928 this_sequence A097930 A097931 A097932

KEYWORD

base,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Sep 04 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 07 2004

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research