login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268935 a(1)=2, a(2)=3. For n>2 a(n) is the sum of the prime factors (with repetition) of a(n-1) + a(n-2). 1
2, 3, 5, 6, 11, 17, 11, 11, 13, 9, 13, 13, 15, 11, 15, 15, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10, 10, 9, 19, 11, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The same principle can be used to generate a family of sequences for integers m>2: a(1)=2, a(2)=3,...a(m)=m+1 and for all n > m, a(n) is the sum of the prime factors (with repetition) of the preceding m terms.

  Example, m=3 : 2, 3, 4, 6, 13, 23, 12, 11, 25, 11, 47, 83, 50, 15, 41, 55, 40, 23,..

           m=4 : 2, 3, 4, 5, 9, 10, 11, 12, 12, 11, 25, 12, 12, 12, 61, 97, 22, 15, ..

Starting from a(17) the sequence is periodic with period 10, 10, 9, 19, 11. - Giovanni Resta, May 15 2016

LINKS

Table of n, a(n) for n=1..77.

FORMULA

a(n) = A001414(a(n-1)+a(n-2)), n>=2 .

MAPLE

A268935 := proc(n)

    option remember;

    if n <=2 then

        n+1;

    else

        A001414(procname(n-1)+procname(n-2)) ;

    end if;

end proc: # R. J. Mathar, May 15 2016

MATHEMATICA

a[1]=2; a[2]=3; a[n_] := a[n] = Plus @@ Times @@@ FactorInteger[ a[n-1] + a[n-2]]; Array[a, 80] (* Giovanni Resta, May 15 2016 *)

CROSSREFS

Sequence in context: A280218 A294526 A068441 * A112598 A078913 A174100

Adjacent sequences:  A268932 A268933 A268934 * A268936 A268937 A268938

KEYWORD

nonn

AUTHOR

David James Sycamore, Feb 16 2016

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 November 28 20:38 EST 2020. Contains 338755 sequences. (Running on oeis4.)