cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A383027 a(n) is the number whose reversed n-digit square is the largest among all reversals of n-digit squares.

This page as a plain text file.
%I A383027 #12 May 11 2025 17:39:40
%S A383027 3,7,17,83,167,583,1833,8167,10583,41833,191833,489417,1989417,
%T A383027 9958167,25041833,74958167,125041833,831989417,1625041833,9874958167,
%U A383027 15831989417,65831989417,309874958167,834168010583,1809874958167,6809874958167,29165831989417,51809874958167,179165831989417
%N A383027 a(n) is the number whose reversed n-digit square is the largest among all reversals of n-digit squares.
%e A383027 a(3)=17 because 982 (reverse of 17^2=289) is the largest reverse of all 3-digit squares.
%t A383027 a[n_]:=Module[{s=Ceiling[Sqrt[10^(n-1)]]},max=IntegerReverse[s^2];
%t A383027 For[k=s,k<=Floor[Sqrt[(10^n-1)]],k++,t=IntegerReverse[k^2];
%t A383027 If[t>max,max=t;s=k]];s];Table[a[n],{n,10}]
%Y A383027 Cf. A002942.
%K A383027 nonn,base,easy
%O A383027 1,1
%A A383027 _Zhining Yang_, Apr 13 2025