login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055023 a(n) = n/A055032(n). 8
1, 2, 3, 1, 5, 2, 7, 1, 1, 2, 11, 1, 13, 2, 1, 1, 17, 2, 19, 1, 3, 2, 23, 1, 1, 2, 1, 1, 29, 2, 31, 1, 1, 2, 1, 1, 37, 2, 3, 1, 41, 2, 43, 1, 1, 2, 47, 1, 1, 2, 1, 1, 53, 2, 1, 1, 3, 2, 59, 1, 61, 2, 1, 1, 1, 2, 67, 1, 1, 2, 71, 1, 73, 2, 3, 1, 1, 2, 79, 1, 1, 2, 83, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

It is conjectured that this is n iff n is 1 or a prime.

REFERENCES

R. K. Guy, Unsolved Problems Number Theory, A17.

LINKS

Indranil Ghosh, Table of n, a(n) for n = 1..1000

MATHEMATICA

Table[n/Denominator[(Sum[m^(n - 1), {m, n - 1}] + 1)/n], {n, 10}] (* Indranil Ghosh, May 17 2017 *)

PROG

(PARI) a(n) = n/denominator((sum(m=1, n - 1, m^(n - 1)) + 1)/n); \\ Indranil Ghosh, May 17 2017

(Python)

from fractions import Fraction

def a(n): return n/Fraction(str(sum([m**(n - 1) for m in xrange(1, n)]) + 1) + "/" + str(n)).denominator # Indranil Ghosh, May 17 2017

CROSSREFS

Cf. A055030, A055031, A055032, A201560, A204187.

Sequence in context: A086686 A306807 A021816 * A323071 A126773 A277698

Adjacent sequences:  A055020 A055021 A055022 * A055024 A055025 A055026

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jun 11 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 22:56 EDT 2019. Contains 323411 sequences. (Running on oeis4.)