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.

A231431 Evil squares.

Original entry on oeis.org

0, 9, 36, 144, 169, 225, 441, 576, 676, 729, 900, 1369, 1764, 2025, 2209, 2304, 2704, 2809, 2916, 3249, 3600, 3721, 3969, 4761, 5329, 5476, 6561, 6889, 7056, 8100, 8649, 8836, 9216, 9801, 10816, 11025, 11236, 11449, 11664, 11881, 12321, 12996, 13225, 14161, 14400, 14884, 15129, 15876, 17689, 18769, 19044, 19881, 21316, 21904
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Nov 20 2013

Keywords

Comments

Numbers n^2 such that A159918(n) is even.
Intersection of A000290 and A001969.

Examples

			36 is in the sequence because 36 = 6^2 and 36 in base 2 is 100100, having an even number of 1's.
		

Crossrefs

Programs

Formula

Conjecture: a(n) ~ 4n^2. - Charles R Greathouse IV, Nov 20 2013

Extensions

Corrected and extended by Harvey P. Dale, Nov 23 2015

A234218 Primes whose cubes are odious.

Original entry on oeis.org

2, 13, 23, 29, 43, 59, 61, 67, 71, 73, 79, 89, 97, 101, 103, 109, 113, 131, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 229, 241, 251, 293, 311, 313, 337, 353, 367, 383, 389, 397, 409, 419, 431, 439, 443, 461, 467, 479, 499, 509, 521, 541, 563, 577, 601
Offset: 1

Views

Author

Irina Gerasimova, Dec 21 2013

Keywords

Comments

Primes p with odious p^3.
Note: "odious" means having an odd number of 1-bits in number's binary representation. So, put in another way, primes p such that A010060(A000578(p)) = 1. - Antti Karttunen, Dec 22 2013
Subsequence of the numbers 1, 2, 4, 8, 13, 16, 23, 25, 26, 29, 32, 35, 43, 45, 46, ... which have odious cubes.

Examples

			Prime 2 is in this sequence because 2^3 = 8 and 8 is odious number. Prime 13 is in this sequence because 13*3 = 2197 and 2197 is odious number.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[1000]], OddQ[DigitCount[#^3, 2, 1]] &] (* Indranil Ghosh, Apr 02 2017 *)
  • PARI
    is(n)=isprime(n) && hammingweight(n^3)%2 \\ Charles R Greathouse IV, Mar 17 2014

Extensions

Missing terms added by Antti Karttunen, Dec 22 2013
Showing 1-2 of 2 results.