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!)
A077252 Sum of digits squared minus sum of digits of n. 2
0, 2, 6, 12, 20, 30, 42, 56, 72, 0, 0, 2, 6, 12, 20, 30, 42, 56, 72, 2, 2, 4, 8, 14, 22, 32, 44, 58, 74, 6, 6, 8, 12, 18, 26, 36, 48, 62, 78, 12, 12, 14, 18, 24, 32, 42, 54, 68, 84, 20, 20, 22, 26, 32, 40, 50, 62, 76, 92, 30, 30, 32, 36, 42, 50, 60, 72, 86, 102, 42, 42, 44, 48, 54 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Inspired by A071440. The quasi-periodic function. First several terms are pronic numbers A002378. See also A077253.
LINKS
EXAMPLE
a(13)=6 because (1^2+3^2)-(1+3)=6.
MATHEMATICA
sd[n_]:= Module[{idn = IntegerDigits[n]}, Total[idn^2 - idn]]; Array[sd, 80] (* Vincenzo Librandi, Aug 02 2013 *)
CROSSREFS
Sequence in context: A034110 A298010 A118373 * A102069 A160938 A160926
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Oct 31 2002
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.)