Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A040997
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A040997 Absolute value between digits of n (version 3). +0
8
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 0, 1, 2, 3, 4, 5, 6, 7 (list; graph; listen)
OFFSET

1,2

FORMULA

If decimal expansion of n is x1 x2 ... xk then a(n) = |x1-x2-x3- ... -xk|.

EXAMPLE

a(371) = |3-7-1| = 5.

CROSSREFS

Cf. A037904, A040114, A040115, A040163.

Sequence in context: A001073 A076313 A055017 this_sequence A075877 A133500 A052423

Adjacent sequences: A040994 A040995 A040996 this_sequence A040998 A040999 A041000

KEYWORD

nonn,base

AUTHOR

Felice Russo (felice.russo(AT)katamail.com)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research