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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097929 Numbers in base 10 that are palindromic in bases 4 and 5. 22
0, 1, 2, 3, 46, 9222, 76449, 193662, 2347506, 2593206, 17099841, 17402241, 25651017, 32317933, 16516113567, 16619231967, 155784877126, 2806999337418, 3101308506654, 37004798195346, 47470618709562, 48517516968462 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Intersection of A014192 and A029952. - Michel Marcus, Oct 09 2014

LINKS

Ray Chandler, Table of n, a(n) for n = 1..26 (terms < 10^18)

Cino Hilliard, util.gp PARI Functions not in the PARI Library. [broken link]

Cino Hilliard, Pari Utilities (cached)

EXAMPLE

9222 base 10 is 2100012 base 4 and 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}] (* 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. A014192 (base 4), A029952 (base 5).

Sequence in context: A289661 A191996 A171079 * A266512 A041501 A163488

Adjacent sequences:  A097926 A097927 A097928 * A097930 A097931 A097932

KEYWORD

base,nonn

AUTHOR

Cino Hilliard, Sep 04 2004

EXTENSIONS

More terms from Robert G. Wilson v, Sep 07 2004

a(15)-a(22) from Donovan Johnson, Apr 23 2010

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 26 14:18 EDT 2019. Contains 321497 sequences. (Running on oeis4.)