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!)
A046261 Largest palindromic substring in 3^n. 3

%I

%S 1,3,9,7,8,4,9,8,656,9,9,1771,1441,323,969,434,7,9,9,162261,44,353,

%T 313,414,282,88,828,484,767,3773,94649,767,888,5665,6996,999,999,909,

%U 2992,76267,545,717,989,707,232,55,959,8778,6336,32923,7897987,3693963,989

%N Largest palindromic substring in 3^n.

%H Harvey P. Dale, <a href="/A046261/b046261.txt">Table of n, a(n) for n = 0..500</a>

%t Max/@Table[Select[FromDigits/@Flatten[Table[Partition[ IntegerDigits[ 3^k], n,1],{n,IntegerLength[3^k]}],1],PalindromeQ],{k,0,60}] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Sep 25 2018 *)

%Y Cf. A046269.

%K nonn,base

%O 0,2

%A _Patrick De Geest_, Jun 15 1998

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 September 29 01:45 EDT 2022. Contains 357082 sequences. (Running on oeis4.)