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.

A235719 Squares which have one or more occurrences of exactly four different digits.

Original entry on oeis.org

1024, 1089, 1296, 1369, 1764, 1849, 1936, 2304, 2401, 2601, 2704, 2809, 2916, 3025, 3249, 3481, 3721, 4096, 4356, 4761, 5041, 5184, 5329, 5476, 6084, 6241, 6724, 7056, 7396, 7569, 7921, 8649, 9025, 9216, 9604, 9801, 10609, 10816, 11025, 11236, 12544, 12996
Offset: 1

Views

Author

Colin Barker, Jan 15 2014

Keywords

Comments

The first term having a repeated digit is 10609.

Examples

			5329 is in the sequence because 5329 = 73^2 and 5329 contains exactly four different digits: 2, 3, 5 and 9.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[150]^2,Length[Union[IntegerDigits[#]]]==4&] (* Harvey P. Dale, May 03 2018 *)
  • PARI
    s=[]; for(n=1, 300, if(#vecsort(eval(Vec(Str(n^2))),,8)==4, s=concat(s, n^2))); s

Formula

a(n) = A054032(n)^2.

A235721 Squares which have one or more occurrences of exactly six different digits.

Original entry on oeis.org

103684, 104329, 104976, 107584, 123904, 124609, 132496, 134689, 139876, 140625, 157609, 162409, 164025, 170569, 173056, 180625, 195364, 198025, 207936, 209764, 214369, 237169, 254016, 257049, 258064, 259081, 279841, 293764, 310249, 318096, 321489, 326041
Offset: 1

Views

Author

Colin Barker, Jan 15 2014

Keywords

Comments

The first term having a repeated digit is 1028196.

Examples

			124609 is in the sequence because 124609 = 353^2 and 124609 contains exactly six different digits: 0, 1, 2, 4, 6 and 9.
		

Crossrefs

Programs

  • PARI
    s=[]; for(n=1, 1200, if(#vecsort(eval(Vec(Str(n^2))),,8)==6, s=concat(s, n^2))); s

Formula

a(n) = A054034(n)^2.
Showing 1-2 of 2 results.