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!)
A061659 Numbers k > 1 such that, in base 5, k and k^2 contain the same digits in the same proportion. 12

%I #9 Aug 24 2023 14:25:31

%S 9726,10512,10904,12702,12886,13766,13898,14008,15086,37644,41156,

%T 42006,42106,44048,44448,44578,44756,44826,48630,48664,49482,49626,

%U 49652,49676,51704,52560,52582,54262,54520,54982,57922,59672,60778,63510,64430,64736,65432

%N Numbers k > 1 such that, in base 5, k and k^2 contain the same digits in the same proportion.

%H Alois P. Heinz, <a href="/A061659/b061659.txt">Table of n, a(n) for n = 1..1000</a>

%e 9726 = 302401_5 and 9726^2 = 143204020301_5.

%p p:= n-> add(x^i, i=convert(n, base, 5)):

%p a:= proc(n) option remember; local k;

%p for k from 1+`if`(n=1, 0, a(n-1))

%p while p(k)*2<>p(k^2) do od; k

%p end:

%p seq(a(n), n=1..50); # _Alois P. Heinz_, May 10 2015

%Y Cf. A061656, A061657, A061658, A061660, A061661, A061662, A061663, A114258, A061664.

%K base,easy,nonn

%O 1,1

%A _Erich Friedman_, Jun 16 2001

%E Offset changed to 1 by _Alois P. Heinz_, May 10 2015

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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)