login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers n such that sum of the digits of n and of n+1 divides n + (n+1), n >= 1.
1

%I #4 Mar 31 2012 10:22:32

%S 1,2,3,4,5,6,7,8,10,13,22,31,40,52,67,73,94,100,103,104,112,121,123,

%T 130,136,142,148,161,175,180,199,202,203,211,218,220,232,237,240,256,

%U 262,275,283,294,301,302,310,314,322,325,337,351,364,391,400,401,412,418

%N Numbers n such that sum of the digits of n and of n+1 divides n + (n+1), n >= 1.

%e Sum of the digits of 52 and 53 is 7+8 = 15, which divides 52+53 = 105 = 7*15. Hence 52 is a term.

%e Sum of the digits of 9 and 10 is 9+1 = 10, which does not divide 9+10 = 19. Hence 9 is not in the sequence.

%t Select[ Range[ 325 ], Mod[ 2#+1, Apply[ Plus, IntegerDigits[ # ] ]+Apply[ Plus, IntegerDigits[ #+1 ] ] ]==0& ] - Farideh Firoozbakht

%K nonn,base

%O 1,2

%A _J. M. Bergot_, Mar 27 2007

%E Edited, corrected and extended by _Klaus Brockhaus_ and _Farideh Firoozbakht_, Mar 29 2007