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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014190 Palindromes in base 3 (written in base 10). 21
0, 1, 2, 4, 8, 10, 13, 16, 20, 23, 26, 28, 40, 52, 56, 68, 80, 82, 91, 100, 112, 121, 130, 142, 151, 160, 164, 173, 182, 194, 203, 212, 224, 233, 242, 244, 280, 316, 328, 364, 400, 412, 448, 484, 488, 524, 560, 572, 608, 644, 656, 692, 728, 730, 757 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

P. De Geest, Palindromic numbers beyond base 10

Eric Weisstein's World of Mathematics, Palindromic Number

Eric Weisstein's World of Mathematics, Ternary

MAPLE

isA014190 := proc(n)

    local L;

    L := convert(n, base, 3) ;

    ListTools[Reverse](L) = L ;

end proc:

for n from 0 to 500 do

    if isA014190(n) then

        printf("%d, ", n) ;

    end if;

end do: # R. J. Mathar, Jul 07 2015

MATHEMATICA

f[n_, b_] := Module[{i=IntegerDigits[n, b]}, i==Reverse[i]]; lst={}; Do[If[f[n, 3], AppendTo[lst, n]], {n, 1000}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 08 2009 *)

CROSSREFS

Cf. A007089, A118594, A134027.

Palindromes in bases 2 through 10: A006995, A014190, A014192, A029952, A029953, A029954, A029803, A029955, A002113.

Sequence in context: A219617 A100278 A075333 * A141400 A190744 A190751

Adjacent sequences:  A014187 A014188 A014189 * A014191 A014192 A014193

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

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

Last modified August 4 01:13 EDT 2015. Contains 260268 sequences.