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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097931 Numbers in base 10 that are palindromic in bases 6 and 7. 3
1, 2, 3, 4, 5, 92, 135, 178, 185, 5854, 6148, 7703, 186621, 204856, 206620, 213970, 269957, 271721, 279071, 4252232, 160258808, 9689802280, 203509031168, 204191148800, 231773764784, 321015775216, 4102350269485, 12262956787888 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

269957 base 10 is 5441445 base 6

269957 base 10 is 2203022 base 7

MATHEMATICA

Do[ p6 = IntegerDigits[n, 6]; If[ FromDigits[ Reverse[ p6]] == FromDigits[p6], p7 = IntegerDigits[n, 7]; If[ FromDigits[ Reverse[p7]] == FromDigits[p7], Print[n]]], {n, 10^9}] (from Robert G. Wilson v Sep 07 2004)

PROG

(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: A075832 A037434 A033170 * A162225 A010348 A171591

Adjacent sequences:  A097928 A097929 A097930 * A097932 A097933 A097934

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

a(22)-a(28) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Apr 23 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 17:11 EST 2012. Contains 205938 sequences.