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!)
A282630 Number of steps to reach 1 when starting from n and iterating the map x -> x - A055396(x). 2

%I #13 Apr 09 2017 10:02:07

%S 0,1,1,2,2,3,2,3,3,4,4,5,3,4,4,5,5,6,5,6,6,7,5,6,8,9,9,10,6,7,7,8,8,9,

%T 9,10,9,10,10,11,11,12,7,8,8,9,9,10,9,10,10,11,10,11,12,13,13,14,13,

%U 14,8,9,9,10,10,11,11,12,12,13,11,12,12,13,13,14

%N Number of steps to reach 1 when starting from n and iterating the map x -> x - A055396(x).

%C This sequence tends to infinity as n tends to infinity.

%H Rémy Sigrist, <a href="/A282630/b282630.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A282630/a282630.png">Illustration of the first terms</a>

%o (PARI) a = vector(100); for (n=1, #a, if (n>1, a[n] = 1 + a[n - primepi(factor(n)[1,1])]); print1 (a[n] ", "))

%Y Cf. A055396.

%K nonn

%O 1,4

%A _Rémy Sigrist_, Apr 09 2017

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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)