login

Revision History for A348483

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(1) = 1; if the sum of the digits of 2*a(n-1) + 1 is not yet in the sequence then a(n) = 2*a(n-1) + 1; otherwise a(n) is the sum of digits of a(n-1).
(history; published version)
#37 by N. J. A. Sloane at Fri Nov 19 17:00:04 EST 2021
STATUS

proposed

approved

#36 by Michel Marcus at Wed Oct 27 02:03:04 EDT 2021
STATUS

editing

proposed

#35 by Michel Marcus at Wed Oct 27 02:02:57 EDT 2021
PROG

(PARI) lista(nn) = my(s, v=List([1])); for(n=1, nn, if(setsearch(vecsort(v), s=sumdigits(v[n])), listput(v, 2*v[n]+1), listput(v, s))); Vec(v ); \\ Jinyuan Wang, Oct 21 2021

STATUS

proposed

editing

#34 by Omar E. Pol at Sat Oct 23 11:36:00 EDT 2021
STATUS

editing

proposed

#33 by Omar E. Pol at Sat Oct 23 11:35:57 EDT 2021
COMMENTS

Will Do all other positive integers appear in this sequence?

STATUS

proposed

editing

#32 by Omar E. Pol at Sat Oct 23 05:38:41 EDT 2021
STATUS

editing

proposed

#31 by Omar E. Pol at Sat Oct 23 05:36:50 EDT 2021
NAME

We multiply the last number by 2 and add a(1) = 1, ; if the sum of the digits of the new number 2*a(n-1) + 1 is not yet in the sequence, then this will be the next number in the sequence, if it already a(n) = 2*a(n-1) + 1; otherwise a(n) is in the sequence we continue multiplicating the last number by 2 and add sum of digits of a(n-1).

Discussion
Sat Oct 23
05:38
Omar E. Pol: Done.
#30 by Michel Marcus at Sat Oct 23 02:59:14 EDT 2021
STATUS

proposed

editing

#29 by Omar E. Pol at Fri Oct 22 08:42:16 EDT 2021
STATUS

editing

proposed

Discussion
Fri Oct 22
09:45
Peter Bala: Suggestion for the name: a(1) = 1; if the sum of the digits of 2*a(n-1) + 1 is not yet in the sequence then a(n) = 2*a(n-1) + 1; otherwise a(n) = sum of digits of  a(n-1).
09:54
Peter Bala: and similar names for A348400 and A348433.
Sat Oct 23
02:59
Michel Marcus: please use Peter's suggestion
#28 by Omar E. Pol at Fri Oct 22 08:42:13 EDT 2021
COMMENTS

Numbers of the form 2 + 3*k will not appear in this sequencessequence.

STATUS

proposed

editing