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.

A327989 Nonnegative integers k such that Sum_{d|k} k & (k/d) is an odd prime, where & is the bitwise AND operator.

Original entry on oeis.org

9, 25, 81, 121, 289, 625, 729, 841, 1681, 3249, 3481, 5041, 7225, 8281, 8649, 9025, 10201, 11449, 13689, 15129, 18769, 19881, 22201, 25281, 27225, 28561, 29241, 31329, 32041, 33489, 34225, 36481, 38025, 38809, 42849, 46225, 48841, 51529, 53361, 55225, 56169, 57121
Offset: 1

Views

Author

Peter Luschny, Oct 11 2019

Keywords

Comments

A subsequence of the odd squares A016754.

Crossrefs

Programs

  • Magma
    [k:k in [1..60000]|IsOdd(a) and IsPrime(a) where a is &+[BitwiseAnd(d,k div d):d in Divisors(k)]]; // Marius A. Burtea, Oct 11 2019
  • Maple
    select(k -> (A327987(k) <> 2 and isprime(A327987(k))), [$0..60000]);