login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265399 Repeatedly perform x^2 -> x+1 reduction for polynomial (with nonnegative integer coefficients) encoded in prime factorization of n, until the polynomial is at most degree 1. 6
1, 2, 3, 4, 6, 6, 18, 8, 9, 12, 108, 12, 1944, 36, 18, 16, 209952, 18, 408146688, 24, 54, 216, 85691213438976, 24, 36, 3888, 27, 72, 34974584955819144511488, 36, 2997014624388697307377363936018956288, 32, 324, 419904, 108, 36, 104819342594514896999066634490728502944926883876041385836544, 816293376, 5832, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
In terms of integers: apply A265398 as many times as necessary to n, until it gets 3-smooth, one of the terms of A003586.
Completely multiplicative with a(2) = 2, a(3) = 3, a(p) = a(A265398(p)) for p > 3. - Andrew Howroyd & Antti Karttunen, Aug 04 2018
LINKS
FORMULA
If A065331(n) = n [that is, when n is one of 3-smooth numbers, A003586] then a(n) = n, otherwise a(n) = a(A265398(n)).
Other identities. For all n >= 1:
a(n) = 2^A265752(n) * 3^A265753(n).
MATHEMATICA
f[p_, e_] := If[p < 5, p, a[NextPrime[p, -1] * NextPrime[p, -2]]]^e; a[1] = 1; a[n_] := a[n] = Times @@ f @@@ FactorInteger[n]; Array[a, 40] (* Amiram Eldar, Sep 07 2023 *)
PROG
(PARI)
\\ Needs also code from A265398.
A265399(n) = if(A065331(n) == n, n, A265399(A265398(n)));
for(n=1, 60, write("b265399.txt", n, " ", A265399(n)));
(Scheme) (definec (A265399 n) (if (= (A065331 n) n) n (A265399 (A265398 n))))
CROSSREFS
Cf. A003586 (fixed points), A065331.
Sequence in context: A265398 A299438 A030209 * A138588 A344412 A143102
KEYWORD
nonn,easy,mult
AUTHOR
Antti Karttunen, Dec 15 2015
EXTENSIONS
Keyword mult added by Antti Karttunen, Aug 04 2018
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)