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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097930 Numbers in base 10 that are palindromic in bases 5 and 6. 22
0, 1, 2, 3, 4, 67, 98, 104, 651, 2293, 3074, 26691, 27741, 704396, 723296, 755846, 883407, 48616624, 295979506, 297379006, 402327541, 198522549056, 204185363456, 240971251611, 246467321391, 303520083621, 330347455102 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Intersection of A029952 and A029953. - Michel Marcus, Oct 09 2014
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..43 (first 29 terms from Robert G. Wilson v)
EXAMPLE
27741_10 = 1341431_5;
27741_10 = 332233_6.
MATHEMATICA
Do[ p5 = IntegerDigits[n, 5]; If[ FromDigits[ Reverse[ p5]] == FromDigits[p5], p6 = IntegerDigits[n, 6]; If[ FromDigits[ Reverse[p6]] == FromDigits[p6], Print[n]]], {n, 10^8}] (* 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. A029952 (base 5), A029953 (base 6).
Sequence in context: A098811 A169902 A004855 * A012322 A076519 A066776
KEYWORD
base,nonn
AUTHOR
Cino Hilliard, Sep 04 2004
EXTENSIONS
More terms from Robert G. Wilson v, Sep 07 2004
a(19)-a(27) from Donovan Johnson, Apr 23 2010
a(28) 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)