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.

A145827 Numbers n such that A145768(n) is a square.

This page as a plain text file.
%I A145827 #22 Apr 11 2021 04:24:23
%S A145827 0,1,7,9,14,15,16,24,33,63,89,193,240,255,271,430,448,528,575,729,742,
%T A145827 783,903,1297,1776,2409,2623,3494,4079,4159,5439,8278,13631,13737,
%U A145827 16128,41825,53007,64344,95985,99015,100607,138238,147734,198976,256177,262079,262335,278847
%N A145827 Numbers n such that A145768(n) is a square.
%o A145827 (PARI) an=0;for(i=1,10^5,an=bitxor(an,i^2);issquare(an)&print1(i","))
%o A145827 (Python)
%o A145827 import math
%o A145827 x = 0
%o A145827 for i in range(1<<20):
%o A145827     x ^= i*i
%o A145827     t = int(math.sqrt(x))
%o A145827     if x == t*t:
%o A145827         print(str(i), end=', ')
%o A145827 # _Alex Ratushnyak_, Mar 27 2013
%Y A145827 A145828 = A145768 intersect A000290 = { A145768(a(n)) }.
%K A145827 easy,base,nonn
%O A145827 1,3
%A A145827 _M. F. Hasler_, Oct 20 2008
%E A145827 More terms from _Alex Ratushnyak_, Mar 27 2013