login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A145105
a(n) = n if n is prime or a perfect number, otherwise a(n) = 0.
0
0, 2, 3, 0, 5, 6, 7, 0, 0, 0, 11, 0, 13, 0, 0, 0, 17, 0, 19, 0, 0, 0, 23, 0, 0, 0, 0, 28, 29, 0, 31, 0, 0, 0, 0, 0, 37, 0, 0, 0, 41, 0, 43, 0, 0, 0, 47, 0, 0, 0, 0, 0, 53, 0, 0, 0, 0, 0, 59, 0, 61, 0, 0, 0, 0, 0, 67, 0, 0, 0, 71, 0, 73, 0, 0, 0, 0, 0, 79, 0, 0, 0, 83, 0, 0, 0, 0, 0, 89, 0, 0, 0
OFFSET
1,2
LINKS
Y. K. Huen, A matrix map for prime and non-prime numbers, International Journal Of Mathematics, Education, Science and Technolology Vol. 6: pages 913-920, 1994.
CROSSREFS
Sequence in context: A364575 A267186 A248092 * A140700 A055615 A378655
KEYWORD
nonn,less
AUTHOR
Huen Yeong Kong (cosmology(AT)pacific.net.sg), Oct 02 2008
EXTENSIONS
Edited and corrected by Joerg Arndt, Dec 27 2018
STATUS
approved