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!)
A127271 Numbers n such that sum of the digits of n and n+2 divides n+1, n >= 1. 1
8, 11, 17, 23, 29, 35, 47, 53, 71, 99, 101, 107, 111, 119, 125, 131, 143, 161, 188, 191, 203, 209, 215, 223, 233, 251, 263, 269, 287, 305, 307, 311, 321, 323, 335, 341, 349, 363, 391, 395, 407, 413, 419, 431, 447, 458, 467, 475, 489, 503, 505, 511, 521, 528 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Sum of the digits of 8 and 10 is 8+1 = 9, which divides 9. Hence 8 is a term.
Sum of the digits of 13 and 15 is 4+6 = 10, which does not divide 14. Hence 13 is not in the sequence.
Sum of the digits of 47 and 49 is 11+13 = 24, which divides 48. Hence 47 is a term.
MATHEMATICA
Select[Partition[Range[600], 3, 1], Divisible[#[[2]], Total[Flatten[ IntegerDigits/@ {#[[1]], #[[3]]}]]]&][[All, 1]] (* Harvey P. Dale, Mar 09 2017 *)
CROSSREFS
Sequence in context: A188197 A234096 A111254 * A118549 A299979 A291663
KEYWORD
nonn,base,less
AUTHOR
J. M. Bergot, Mar 27 2007
EXTENSIONS
Edited, corrected and extended by Klaus Brockhaus, Mar 29 2007
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)