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.

Showing 1-2 of 2 results.

A229766 Odd numbers whose square's binary reversal is also a square.

Original entry on oeis.org

1, 3, 4523, 11991, 18197, 66075, 72225, 141683, 1092489, 3168099, 6001209, 6226335, 6435309, 12489657, 17906499, 50429883, 51928701, 68301841, 295742437, 390117873, 542959199, 554456167, 566494057
Offset: 1

Views

Author

Alex Ratushnyak, Dec 19 2013

Keywords

Comments

A003166 is a subsequence, except A003166(1)=0.
All odd numbers n such that A068527(A030101(n^2)) = 0. - Antti Karttunen, Dec 20 2013

Crossrefs

Formula

a(n) = sqrt(A229687(n)).

A272711 Square numbers whose binary reversal is also square.

Original entry on oeis.org

1, 4, 9, 16, 36, 64, 144, 256, 576, 1024, 2304, 4096, 9216, 16384, 36864, 65536, 147456, 262144, 589824, 1048576, 2359296, 4194304, 9437184, 16777216, 20457529, 37748736, 67108864, 81830116, 143784081, 150994944, 268435456, 327320464, 331130809, 575136324, 603979776
Offset: 1

Views

Author

Benjamin Przybocki, May 04 2016

Keywords

Comments

The first term in this sequence whose binary reversal is not 1 or 9 is 20457529 (which is a binary palindrome).
The previous comment means that the sequence does not just contain the squares of numbers in A029744. - R. J. Mathar, May 06 2016
If k is a term, then so is 4*k. - Robert Israel, Jun 06 2023

Crossrefs

Cf. A061457 (analogous in base 10).

Programs

  • Maple
    rev:= proc(n) local L,i;
      L:= convert(n,base,2);
      add(L[-i]*2^(i-1),i=1..nops(L))
    end proc:
    select(n -> issqr(rev(n)), [seq(i^2,i=1..100000)]); # Robert Israel, Jun 06 2023
  • Mathematica
    Select[Range[10^5]^2, IntegerQ@ Sqrt@ FromDigits[ Reverse@ IntegerDigits[#, 2], 2] &] (* Giovanni Resta, May 05 2016 *)
  • PARI
    lista(nn) = {for (n=1, nn, if (issquare(subst(Polrev(binary(n^2)), x, 2)), print1(n^2, ", ")););} \\ Michel Marcus, May 05 2016
Showing 1-2 of 2 results.