The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A097931 Numbers in base 10 that are palindromic in bases 6 and 7. 22
 0, 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; text; internal format)
 OFFSET 1,3 COMMENTS Intersection of A029953 and A029954. - Michel Marcus, Oct 09 2014 LINKS Giovanni Resta, Table of n, a(n) for n = 1..50 (first 30 terms from Robert G. Wilson v) Cino Hilliard, util.gp PARI Functions not in the PARI Library. [broken link] Cino Hilliard, Pari Utilities (cached) EXAMPLE 269957 base 10 is 5441445 base 6 and 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}] (* Robert G. Wilson v, Sep 07 2004 *) PROG (PARI) /* Requires reading the util.gp file in the link into the gp session.  */ palbase(n, b1, b2) = { for(x=1, n, if(ispal(base(10, b1, x))& ispal(base(10, b2, x)), print1(x", ")) ) } CROSSREFS Cf. A029953 (base 6), A029954 (base 7). Sequence in context: A037434 A033170 A334536 * A162225 A010348 A171591 Adjacent sequences:  A097928 A097929 A097930 * A097932 A097933 A097934 KEYWORD base,nonn AUTHOR Cino Hilliard, Sep 04 2004 EXTENSIONS More terms from Robert G. Wilson v, Sep 07 2004 a(23)-a(29) from Donovan Johnson, Apr 23 2010 a(30) from Robert G. Wilson v, Jul 17 2015 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 21 03:58 EST 2022. Contains 350473 sequences. (Running on oeis4.)