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.

A278021 Numbers n such that n - lambda(n) is prime, where lambda = A002322.

Original entry on oeis.org

4, 9, 15, 25, 33, 35, 49, 65, 69, 77, 87, 91, 95, 115, 119, 121, 123, 143, 159, 169, 185, 187, 215, 221, 247, 249, 255, 259, 267, 287, 289, 295, 299, 319, 323, 329, 339, 341, 361, 365, 377, 393, 395, 407, 413, 415, 427, 437, 455, 473, 485, 511, 515, 519
Offset: 1

Views

Author

Robert Israel, Nov 08 2016

Keywords

Comments

All terms are composite.
4 is the only even term.
For odd primes p, 3*p is a term iff p is in A005384.

Examples

			25-lambda(25) = 25-20 = 5 is prime so 25 is in the sequence.
		

Crossrefs

Contains A001248. Contained in union of A001248 and A024556.

Programs

  • Maple
    select(t -> isprime(t - numtheory:-lambda(t)), [$1..10000]);

Formula

A010051(n - A002322(n)) = 1.