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.

A009191 a(n) = gcd(n, d(n)), where d(n) is the number of divisors of n (A000005).

Original entry on oeis.org

1, 2, 1, 1, 1, 2, 1, 4, 3, 2, 1, 6, 1, 2, 1, 1, 1, 6, 1, 2, 1, 2, 1, 8, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 9, 1, 2, 1, 8, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 8, 1, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 2, 1, 2, 1, 12, 1, 2, 3, 2, 1, 2, 1, 10, 1, 2, 1, 12, 1, 2, 1, 8, 1, 6, 1, 2, 1, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 8, 1
Offset: 1

Views

Author

Keywords

Comments

a(A046642(n)) = 1.
First occurrence of k: 1, 2, 9, 8, 400, 12, 3136, 24, 36, 80, 123904, 60, 692224, 448, 2025, 384, .... Conjecture: each k is present. - Robert G. Wilson v, Mar 27 2013
Conjecture is true. See David A. Corneth's comment in A324553. - Antti Karttunen, Mar 06 2019

Crossrefs

Cf. A046642 (positions of ones), A324553 (position of the first occurrence of each n).

Programs

Formula

a(n) = gcd(n, A000005(n)) = gcd(n, A049820(n)). - Antti Karttunen, Sep 25 2018

A280946 Numbers n such that n and number of proper divisors (A032741) of n are relatively prime and n is a nonprime (A018252).

Original entry on oeis.org

1, 8, 9, 10, 12, 14, 18, 22, 24, 25, 26, 28, 30, 32, 34, 35, 38, 40, 44, 46, 49, 52, 54, 55, 58, 60, 62, 63, 65, 66, 68, 72, 74, 76, 77, 78, 80, 81, 82, 84, 85, 86, 88, 90, 91, 92, 94, 95, 96, 98, 99, 102, 104, 106, 108, 110, 112, 114, 115, 116, 117, 118, 119, 121, 122, 124, 125, 126, 128, 130, 133, 134, 135, 136, 138
Offset: 1

Views

Author

Ilya Gutkovskiy, Jan 11 2017

Keywords

Comments

Numbers n such that A125168(n) = 1 and A010051(n) = 0.
Numbers n such that gcd(n,A032741(n)) = 1 and A000005(n) != 2.

Examples

			12 is in the sequence because 12 is a nonprime, 12 has 5 proper divisors {1, 2, 3, 4, 6} and gcd(12,5) = 1.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[139], CoprimeQ[#1, DivisorSigma[0, #1] - 1] && !PrimeQ[#1] & ]
    Select[Range[139], GCD[#1, DivisorSigma[0, #1] - 1] == 1 && DivisorSigma[0, #1] != 2 &]
  • PARI
    isok(n) = gcd(n, numdiv(n)-1) == 1; \\ Michel Marcus, Jan 14 2017
Showing 1-2 of 2 results.